From e7c15a212ebf9d36b39284bce6b63bd829cfbe5a Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 24 Nov 2021 15:28:31 -0500 Subject: [PATCH 01/28] - typo fixes Signed-off-by: Vincent Biret --- .../Edm/ODataStreamPropertySegment.cs | 2 +- .../Operation/NavigationPropertyGetOperationHandler.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataStreamPropertySegment.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataStreamPropertySegment.cs index efca6864..5d8713c2 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataStreamPropertySegment.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataStreamPropertySegment.cs @@ -14,7 +14,7 @@ public class ODataStreamPropertySegment : ODataSegment { private readonly string _streamPropertyName; /// - /// Initializes a new instance of class. + /// Initializes a new instance of class. /// /// The name of the stream property. public ODataStreamPropertySegment(string streamPropertyName) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyGetOperationHandler.cs index e12ee7cc..492e692a 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyGetOperationHandler.cs @@ -183,7 +183,7 @@ protected override void SetParameters(OpenApiOperation operation) if (!LastSegmentIsKeySegment && NavigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) { - // Need to verify that TopSupported or others should be applyed to navigaiton source. + // Need to verify that TopSupported or others should be applied to navigation source. // So, how about for the navigation property. OpenApiParameter parameter = Context.CreateTop(NavigationProperty); if (parameter != null) From 16b495b1cc2f35628a9f06638b05d67cf101b56e Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 24 Nov 2021 16:26:58 -0500 Subject: [PATCH 02/28] - draft implementation of odata cast segments --- .../Edm/ODataPath.cs | 31 ++-- .../Edm/ODataPathKind.cs | 9 +- .../Edm/ODataPathProvider.cs | 42 ++++- .../OpenApiConvertSettings.cs | 6 + .../ODataTypeCastGetOperationHandler.cs | 146 ++++++++++++++++++ .../Operation/OperationHandlerProvider.cs | 6 + .../PathItem/ODataTypeCastPathItemHandler.cs | 26 ++++ .../PathItem/PathItemHandlerProvider.cs | 3 + .../PublicAPI.Unshipped.txt | 5 +- 9 files changed, 250 insertions(+), 24 deletions(-) create mode 100644 src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs create mode 100644 src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs index bd07491c..50be49ab 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs @@ -289,13 +289,15 @@ private ODataPathKind CalcPathType() { return ODataPathKind.Metadata; } - - if (Segments.Last().Kind == ODataSegmentKind.DollarCount) + else if (Segments.Last().Kind == ODataSegmentKind.DollarCount) { return ODataPathKind.DollarCount; } - - if (Segments.Any(c => c.Kind == ODataSegmentKind.StreamProperty || c.Kind == ODataSegmentKind.StreamContent)) + else if (Segments.Last().Kind == ODataSegmentKind.TypeCast) + { + return ODataPathKind.TypeCast; + } + else if (Segments.Any(c => c.Kind == ODataSegmentKind.StreamProperty || c.Kind == ODataSegmentKind.StreamContent)) { return ODataPathKind.MediaEntity; } @@ -315,22 +317,17 @@ private ODataPathKind CalcPathType() { return ODataPathKind.NavigationProperty; } - - if (Segments.Count == 1) + else if (Segments.Count == 1 && Segments[0] is ODataNavigationSourceSegment segment) { - ODataNavigationSourceSegment segment = Segments[0] as ODataNavigationSourceSegment; - if (segment != null) + if (segment.NavigationSource is IEdmSingleton) { - if (segment.NavigationSource is IEdmSingleton) - { - return ODataPathKind.Singleton; - } - else - { - return ODataPathKind.EntitySet; - } + return ODataPathKind.Singleton; } - } + else + { + return ODataPathKind.EntitySet; + } + } else if (Segments.Count == 2 && Segments.Last().Kind == ODataSegmentKind.Key) { return ODataPathKind.Entity; diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs index c5567697..0106493e 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs @@ -60,9 +60,14 @@ public enum ODataPathKind /// DollarCount, + /// + /// Represents a type cast path, for example: ~/groups/{id}/members/microsoft.graph.user + /// + TypeCast, + /// /// Represents an un-supported/unknown path. /// - Unknown - } + Unknown, + } } diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 85bf8fd4..3ac7ca50 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -127,6 +127,7 @@ private void AppendPath(ODataPath path) ODataPathKind kind = path.Kind; switch(kind) { + case ODataPathKind.TypeCast: case ODataPathKind.DollarCount: case ODataPathKind.Entity: case ODataPathKind.EntitySet: @@ -285,12 +286,25 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr IEdmEntityType navEntityType = navigationProperty.ToEntityType(); var targetsMany = navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many; var propertyPath = navigationProperty.GetPartnerPath()?.Path; + var propertyPathIsEmpty = string.IsNullOrEmpty(propertyPath); - if (targetsMany && (string.IsNullOrEmpty(propertyPath) || - (count?.IsNonCountableNavigationProperty(propertyPath) ?? true))) + if (targetsMany) { - // ~/entityset/{key}/collection-valued-Nav/$count - CreateCountPath(currentPath, convertSettings); + if(propertyPathIsEmpty || + (count?.IsNonCountableNavigationProperty(propertyPath) ?? true)) + { + // ~/entityset/{key}/collection-valued-Nav/$count + CreateCountPath(currentPath, convertSettings); + } + + //TODO read the cast restrictions annotation + var derivedTypes = _model + .FindAllDerivedTypes(navigationProperty.DeclaringType) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray(); + if(derivedTypes.Any()) + CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); } if (!navigationProperty.ContainsTarget) @@ -393,6 +407,26 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve AppendPath(countPath); } + /// + /// Create OData type cast paths. + /// + /// The current OData path. + /// The settings for the current conversion. + /// The target types to generate a path for. + private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, params IEdmEntityType[] targetTypes) + { + if(currentPath == null) throw new ArgumentNullException(nameof(currentPath)); + if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings)); + if(!convertSettings.EnableODataTypeCast || targetTypes == null || !targetTypes.Any()) return; + + foreach(var targetType in targetTypes) + { + var castPath = currentPath.Clone(); + castPath.Push(new ODataTypeCastSegment(targetType)); + AppendPath(castPath); + } + } + /// /// Retrieve all bounding . /// diff --git a/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs b/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs index e5faf574..0c50c861 100644 --- a/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs +++ b/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs @@ -192,6 +192,11 @@ public string PathPrefix /// Gets/sets a value indicating whether or not single quotes surrounding string parameters in url templates should be added. /// public bool AddSingleQuotesForStringParameters { get; set; } = false; + + /// + /// Gets/sets a value indicating whether or not to include the OData type cast segments on entity sets. + /// + public bool EnableODataTypeCast { get; set; } = true; internal OpenApiConvertSettings Clone() { @@ -225,6 +230,7 @@ internal OpenApiConvertSettings Clone() PathProvider = this.PathProvider, EnableDollarCountPath = this.EnableDollarCountPath, AddSingleQuotesForStringParameters = this.AddSingleQuotesForStringParameters, + EnableODataTypeCast = this.EnableODataTypeCast, }; return newSettings; diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs new file mode 100644 index 00000000..c1868be6 --- /dev/null +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -0,0 +1,146 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. +// ------------------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.OData.Edm; +using Microsoft.OpenApi.Models; +using Microsoft.OpenApi.OData.Common; +using Microsoft.OpenApi.OData.Edm; +using Microsoft.OpenApi.OData.Generator; + +namespace Microsoft.OpenApi.OData.Operation; + +/// +/// Retrieves a .../namespace.typename get +/// +internal class ODataTypeCastGetOperationHandler : OperationHandler +{ + /// + public override OperationType OperationType => OperationType.Get; + + /// + /// Gets/sets the segment before cast. + /// this segment could be "entity set", "Collection property", etc. + /// + internal ODataSegment LastSecondSegment { get; set; } + + private IEdmEntityType parentEntityType; + private IEdmEntityType targetEntityType; + private const int SecondLastSegmentIndex = 2; + /// + protected override void Initialize(ODataContext context, ODataPath path) + { + base.Initialize(context, path); + + // get the last second segment + int count = path.Segments.Count; + if(count >= SecondLastSegmentIndex) + LastSecondSegment = path.Segments.ElementAt(count - SecondLastSegmentIndex); + + parentEntityType = LastSecondSegment.EntityType; + if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) + { + targetEntityType = oDataTypeCastSegment.EntityType; + } + else throw new NotImplementedException($"type cast type {path.Last().GetType().FullName} not implemented"); + + } + + /// + protected override void SetBasicInfo(OpenApiOperation operation) + { + // Summary + operation.Summary = $"Get the items of type {targetEntityType.ShortQualifiedName()} in the {parentEntityType.ShortQualifiedName()} collection"; + + // OperationId + if (Context.Settings.EnableOperationId) + { + operation.OperationId = $"Get.{parentEntityType.ShortQualifiedName()}.As.{targetEntityType.ShortQualifiedName()}"; + } + + base.SetBasicInfo(operation); + } + + /// + protected override void SetResponses(OpenApiOperation operation) + { + + OpenApiSchema schema = null; + + if (Context.Settings.EnableDerivedTypesReferencesForResponses) + { + schema = EdmModelHelper.GetDerivedTypesReferenceSchema(parentEntityType, Context.Model); + } + + if (schema == null) + { + schema = new OpenApiSchema + { + Reference = new OpenApiReference + { + Type = ReferenceType.Schema, + Id = $"{parentEntityType.FullName()}.To.{targetEntityType.FullName()}" + } + }; + } + + var properties = new Dictionary + { + { + "value", + new OpenApiSchema + { + Type = "array", + Items = schema + } + } + }; + + if (Context.Settings.EnablePagination) + { + properties.Add( + "@odata.nextLink", + new OpenApiSchema + { + Type = "string" + }); + } + + operation.Responses = new OpenApiResponses + { + { + Constants.StatusCode200, + new OpenApiResponse + { + Description = "Retrieved entities", + Content = new Dictionary + { + { + Constants.ApplicationJsonMediaType, + new OpenApiMediaType + { + Schema = new OpenApiSchema + { + Title = $"Collection of items of type {targetEntityType.ShortQualifiedName()} in the {parentEntityType.ShortQualifiedName()} collection", + Type = "object", + Properties = properties + } + } + } + } + } + } + }; + + operation.Responses.Add(Constants.StatusCodeDefault, Constants.StatusCodeDefault.GetResponse()); + + base.SetResponses(operation); + } + //TODO query parameters? + //TODO extensions? +} +//TODO unit tests \ No newline at end of file diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandlerProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandlerProvider.cs index 12915051..544e70a4 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandlerProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandlerProvider.cs @@ -89,6 +89,12 @@ private readonly IDictionary + { + {OperationType.Get, new ODataTypeCastGetOperationHandler() }, + }}, }; /// diff --git a/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs b/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs new file mode 100644 index 00000000..9eb6838c --- /dev/null +++ b/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. +// ------------------------------------------------------------ + +using Microsoft.OpenApi.Models; +using Microsoft.OpenApi.OData.Edm; + +namespace Microsoft.OpenApi.OData.PathItem; + +/// +/// Path item handler for type cast for example: ~/groups/{id}/members/microsoft.graph.user +/// +internal class ODataTypeCastPathItemHandler : PathItemHandler +{ + /// + protected override ODataPathKind HandleKind => ODataPathKind.TypeCast; + + /// + protected override void SetOperations(OpenApiPathItem item) + { + AddOperation(item, OperationType.Get); + } +} + +//TODO unit test for the ODataTypeCastPathItemHandler \ No newline at end of file diff --git a/src/Microsoft.OpenApi.OData.Reader/PathItem/PathItemHandlerProvider.cs b/src/Microsoft.OpenApi.OData.Reader/PathItem/PathItemHandlerProvider.cs index ae81bc30..acb1f95e 100644 --- a/src/Microsoft.OpenApi.OData.Reader/PathItem/PathItemHandlerProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/PathItem/PathItemHandlerProvider.cs @@ -45,6 +45,9 @@ internal class PathItemHandlerProvider : IPathItemHandlerProvider // $count { ODataPathKind.DollarCount, new DollarCountPathItemHandler() }, + // ~/groups/{id}/members/microsoft.graph.user + { ODataPathKind.TypeCast, new ODataTypeCastPathItemHandler() }, + // Unknown { ODataPathKind.Unknown, null }, }; diff --git a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt index e067bf0c..f68b2bae 100644 --- a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt +++ b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt @@ -61,7 +61,8 @@ Microsoft.OpenApi.OData.Edm.ODataPathKind.Operation = 3 -> Microsoft.OpenApi.ODa Microsoft.OpenApi.OData.Edm.ODataPathKind.OperationImport = 4 -> Microsoft.OpenApi.OData.Edm.ODataPathKind Microsoft.OpenApi.OData.Edm.ODataPathKind.Ref = 6 -> Microsoft.OpenApi.OData.Edm.ODataPathKind Microsoft.OpenApi.OData.Edm.ODataPathKind.Singleton = 2 -> Microsoft.OpenApi.OData.Edm.ODataPathKind -Microsoft.OpenApi.OData.Edm.ODataPathKind.Unknown = 10 -> Microsoft.OpenApi.OData.Edm.ODataPathKind +Microsoft.OpenApi.OData.Edm.ODataPathKind.TypeCast = 10 -> Microsoft.OpenApi.OData.Edm.ODataPathKind +Microsoft.OpenApi.OData.Edm.ODataPathKind.Unknown = 11 -> Microsoft.OpenApi.OData.Edm.ODataPathKind Microsoft.OpenApi.OData.Edm.ODataPathProvider Microsoft.OpenApi.OData.Edm.ODataPathProvider.ODataPathProvider() -> void Microsoft.OpenApi.OData.Edm.ODataRefSegment @@ -134,6 +135,8 @@ Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableDollarCountPath.get -> bool Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableDollarCountPath.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.AddSingleQuotesForStringParameters.get -> bool Microsoft.OpenApi.OData.OpenApiConvertSettings.AddSingleQuotesForStringParameters.set -> void +Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableODataTypeCast.get -> bool +Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableODataTypeCast.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.PrefixEntityTypeNameBeforeKey.get -> bool Microsoft.OpenApi.OData.OpenApiConvertSettings.PrefixEntityTypeNameBeforeKey.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.RequireDerivedTypesConstraintForBoundOperations.get -> bool From f1c0abe216cc4d1dd1d0d8070d42ae964f3e82b6 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 25 Nov 2021 14:17:31 -0500 Subject: [PATCH 03/28] - code linting Signed-off-by: Vincent Biret --- .../NavigationPropertyOperationHandler.cs | 52 ++++++++----------- 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyOperationHandler.cs index c3bae340..4503a9cb 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/NavigationPropertyOperationHandler.cs @@ -101,33 +101,29 @@ protected override void SetTags(OpenApiOperation operation) NavigationSource.Name }; - foreach (var segment in Path.Segments.Skip(1)) + foreach (var segment in Path.Segments.Skip(1).OfType()) { - ODataNavigationPropertySegment npSegment = segment as ODataNavigationPropertySegment; - if (npSegment != null) + if (segment.NavigationProperty == NavigationProperty) { - if (npSegment.NavigationProperty == NavigationProperty) + items.Add(NavigationProperty.ToEntityType().Name); + break; + } + else + { + if (items.Count >= Context.Settings.TagDepth - 1) { - items.Add(NavigationProperty.ToEntityType().Name); + items.Add(segment.NavigationProperty.ToEntityType().Name); break; } else { - if (items.Count >= Context.Settings.TagDepth - 1) - { - items.Add(npSegment.NavigationProperty.ToEntityType().Name); - break; - } - else - { - items.Add(npSegment.NavigationProperty.Name); - } + items.Add(segment.NavigationProperty.Name); } } } string name = string.Join(".", items); - OpenApiTag tag = new OpenApiTag + OpenApiTag tag = new() { Name = name }; @@ -155,28 +151,24 @@ protected string GetOperationId(string prefix = null) }; var lastpath = Path.Segments.Last(c => c is ODataNavigationPropertySegment); - foreach (var segment in Path.Segments.Skip(1)) + foreach (var segment in Path.Segments.Skip(1).OfType()) { - ODataNavigationPropertySegment npSegment = segment as ODataNavigationPropertySegment; - if (npSegment != null) + if (segment == lastpath) { - if (segment == lastpath) + if (prefix != null) { - if (prefix != null) - { - items.Add(prefix + Utils.UpperFirstChar(npSegment.NavigationProperty.Name)); - } - else - { - items.Add(Utils.UpperFirstChar(npSegment.NavigationProperty.Name)); - } - - break; + items.Add(prefix + Utils.UpperFirstChar(segment.NavigationProperty.Name)); } else { - items.Add(npSegment.NavigationProperty.Name); + items.Add(Utils.UpperFirstChar(segment.NavigationProperty.Name)); } + + break; + } + else + { + items.Add(segment.NavigationProperty.Name); } } From 8eed01fa2ea3ab43f7826066b50ec974783ee188 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 25 Nov 2021 14:18:02 -0500 Subject: [PATCH 04/28] - bump language version for test project Signed-off-by: Vincent Biret --- .../Microsoft.OpenAPI.OData.Reader.Tests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj index a0a70e0c..925b9728 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj @@ -7,6 +7,7 @@ true ..\..\tool\35MSSharedLib1024.snk true + latest ..\..\bin\debug\test\ ..\..\bin\release\test\ From 4b187d9bd238b9aaac1bea3b69084d3d6e4274e5 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 25 Nov 2021 14:19:20 -0500 Subject: [PATCH 05/28] - adds unit test for Cast operation handler & cast path item handler - adds support for query parameters when in navigation properties Signed-off-by: Vincent Biret --- .../ODataTypeCastGetOperationHandler.cs | 159 +++++++++++++++++- .../PathItem/ODataTypeCastPathItemHandler.cs | 2 - .../ODataTypeCastGetOperationHandlerTests.cs | 72 ++++++++ .../PathItem/PathItemHandlerProviderTests.cs | 1 + 4 files changed, 228 insertions(+), 6 deletions(-) create mode 100644 test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index c1868be6..69fbfdce 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -7,10 +7,12 @@ using System.Collections.Generic; using System.Linq; using Microsoft.OData.Edm; +using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Microsoft.OpenApi.OData.Common; using Microsoft.OpenApi.OData.Edm; using Microsoft.OpenApi.OData.Generator; +using Microsoft.OpenApi.OData.Vocabulary.Capabilities; namespace Microsoft.OpenApi.OData.Operation; @@ -28,6 +30,8 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler /// internal ODataSegment LastSecondSegment { get; set; } + private NavigationPropertyRestriction restriction; + private IEdmNavigationProperty navigationProperty; private IEdmEntityType parentEntityType; private IEdmEntityType targetEntityType; private const int SecondLastSegmentIndex = 2; @@ -42,6 +46,30 @@ protected override void Initialize(ODataContext context, ODataPath path) LastSecondSegment = path.Segments.ElementAt(count - SecondLastSegmentIndex); parentEntityType = LastSecondSegment.EntityType; + if(LastSecondSegment is ODataNavigationPropertySegment navigationPropertySegment) + { + navigationProperty = navigationPropertySegment.NavigationProperty; + var navigationPropertyPath = string.Join("/", + Path.Segments.Where(s => !(s is ODataKeySegment || s is ODataNavigationSourceSegment + || s is ODataStreamContentSegment || s is ODataStreamPropertySegment)).Select(e => e.Identifier)); + + if(path.FirstSegment is ODataNavigationSourceSegment navigationSourceSegment) + { + NavigationRestrictionsType navigation = navigationSourceSegment.NavigationSource switch { + IEdmEntitySet entitySet => Context.Model.GetRecord(entitySet, CapabilitiesConstants.NavigationRestrictions), + IEdmSingleton singleton => Context.Model.GetRecord(singleton, CapabilitiesConstants.NavigationRestrictions), + _ => null + }; + + if (navigation?.RestrictedProperties != null) + { + restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty != null && r.NavigationProperty == navigationPropertyPath); + } + } + } + //TODO previous segment is a key + //TODO previous segment is a single nav property + //TODO previous segment is an entity set if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) { targetEntityType = oDataTypeCastSegment.EntityType; @@ -140,7 +168,130 @@ protected override void SetResponses(OpenApiOperation operation) base.SetResponses(operation); } - //TODO query parameters? - //TODO extensions? -} -//TODO unit tests \ No newline at end of file + /// + protected override void SetTags(OpenApiOperation operation) + { + IList items = new List + { + parentEntityType.Name, + targetEntityType.Name, + }; + + string name = string.Join(".", items); + OpenApiTag tag = new() + { + Name = name + }; + tag.Extensions.Add(Constants.xMsTocType, new OpenApiString("page")); + operation.Tags.Add(tag); + + Context.AppendTag(tag); + + base.SetTags(operation); + } + /// + protected override void SetParameters(OpenApiOperation operation) + { + base.SetParameters(operation); + + if(navigationProperty != null) { + if (navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) + { + // Need to verify that TopSupported or others should be applied to navigation source. + // So, how about for the navigation property. + OpenApiParameter parameter = Context.CreateTop(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateSkip(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateSearch(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateFilter(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateCount(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateOrderBy(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateSelect(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateExpand(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + } + else + { + OpenApiParameter parameter = Context.CreateSelect(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + + parameter = Context.CreateExpand(navigationProperty); + if (parameter != null) + { + operation.Parameters.Add(parameter); + } + } + } + } + + protected override void SetSecurity(OpenApiOperation operation) + { + if (restriction == null || restriction.ReadRestrictions == null) + { + return; + } + + ReadRestrictionsBase readBase = restriction.ReadRestrictions; + + operation.Security = Context.CreateSecurityRequirements(readBase.Permissions).ToList(); + } + + protected override void SetExtensions(OpenApiOperation operation) + { + if (Context.Settings.EnablePagination) + { + if (navigationProperty != null && navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) + { + OpenApiObject extension = new() + { + { "nextLinkName", new OpenApiString("@odata.nextLink")}, + { "operationName", new OpenApiString(Context.Settings.PageableOperationName)} + }; + + operation.Extensions.Add(Constants.xMsPageable, extension); + } + } + + base.SetExtensions(operation); + } +} \ No newline at end of file diff --git a/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs b/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs index 9eb6838c..da7e89bc 100644 --- a/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/PathItem/ODataTypeCastPathItemHandler.cs @@ -22,5 +22,3 @@ protected override void SetOperations(OpenApiPathItem item) AddOperation(item, OperationType.Get); } } - -//TODO unit test for the ODataTypeCastPathItemHandler \ No newline at end of file diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs new file mode 100644 index 00000000..c0438058 --- /dev/null +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -0,0 +1,72 @@ +// ------------------------------------------------------------ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. +// ------------------------------------------------------------ + +using System.Linq; +using Microsoft.OData.Edm; +using Microsoft.OpenApi.Extensions; +using Microsoft.OpenApi.OData.Edm; +using Microsoft.OpenApi.OData.PathItem.Tests; +using Microsoft.OpenApi.OData.Tests; +using Xunit; + +namespace Microsoft.OpenApi.OData.Operation.Tests; +public class ODataTypeCastGetOperationHandlerTests +{ + private readonly ODataTypeCastGetOperationHandler _operationHandler = new (); + + [Theory] + [InlineData(true)] + [InlineData(false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperation(bool enableOperationId) + { + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + + Assert.NotNull(operation.Parameters); + Assert.Equal(9, operation.Parameters.Count); + + Assert.Null(operation.RequestBody); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + } + //TODO test on entity set + //TODO test on cast cast key + //TODO test on cast on single nav property +} diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/PathItem/PathItemHandlerProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/PathItem/PathItemHandlerProviderTests.cs index 0bd42bba..b5218abb 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/PathItem/PathItemHandlerProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/PathItem/PathItemHandlerProviderTests.cs @@ -22,6 +22,7 @@ public class PathItemHandlerProviderTests [InlineData(ODataPathKind.MediaEntity, typeof(MediaEntityPathItemHandler))] [InlineData(ODataPathKind.Metadata, typeof(MetadataPathItemHandler))] [InlineData(ODataPathKind.DollarCount, typeof(DollarCountPathItemHandler))] + [InlineData(ODataPathKind.TypeCast, typeof(ODataTypeCastPathItemHandler))] public void GetHandlerReturnsCorrectHandlerType(ODataPathKind pathKind, Type handlerType) { // Arrange From 1b11a4e864570cd89a72da82ad50d665e0254d7b Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 25 Nov 2021 15:00:15 -0500 Subject: [PATCH 06/28] - adds support for entity set down cast Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 9 ++ .../ODataTypeCastGetOperationHandler.cs | 96 +++++++++---------- .../ODataTypeCastGetOperationHandlerTests.cs | 52 +++++++++- 3 files changed, 104 insertions(+), 53 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 3ac7ca50..45df5c27 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -190,6 +190,15 @@ private void RetrieveNavigationSourcePaths(IEdmNavigationSource navigationSource if(count?.Countable ?? true) CreateCountPath(path, convertSettings); + //TODO read the cast restrictions annotation + var derivedTypes = _model + .FindAllDerivedTypes(entitySet.EntityType()) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray(); + if(derivedTypes.Any()) + CreateTypeCastPaths(path, convertSettings, derivedTypes); + path.Push(new ODataKeySegment(entityType)); AppendPath(path.Clone()); } diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index 69fbfdce..3069d11c 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -7,6 +7,7 @@ using System.Collections.Generic; using System.Linq; using Microsoft.OData.Edm; +using Microsoft.OData.Edm.Vocabularies; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Microsoft.OpenApi.OData.Common; @@ -31,6 +32,7 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler internal ODataSegment LastSecondSegment { get; set; } private NavigationPropertyRestriction restriction; + private IEdmEntitySet entitySet; private IEdmNavigationProperty navigationProperty; private IEdmEntityType parentEntityType; private IEdmEntityType targetEntityType; @@ -67,9 +69,17 @@ protected override void Initialize(ODataContext context, ODataPath path) } } } + else if(LastSecondSegment is ODataNavigationSourceSegment sourceSegment && sourceSegment.NavigationSource is IEdmEntitySet eSet) + { + entitySet = eSet; + NavigationRestrictionsType navigation = Context.Model.GetRecord(eSet, CapabilitiesConstants.NavigationRestrictions); + if (navigation?.RestrictedProperties != null) + { + restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty == null); + } + } //TODO previous segment is a key //TODO previous segment is a single nav property - //TODO previous segment is an entity set if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) { targetEntityType = oDataTypeCastSegment.EntityType; @@ -197,55 +207,16 @@ protected override void SetParameters(OpenApiOperation operation) if(navigationProperty != null) { if (navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) { - // Need to verify that TopSupported or others should be applied to navigation source. - // So, how about for the navigation property. - OpenApiParameter parameter = Context.CreateTop(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateSkip(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateSearch(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateFilter(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateCount(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateOrderBy(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateSelect(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateExpand(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } + CreateParametersForAnnotableOfMany(operation, navigationProperty) + .Union( + new OpenApiParameter[] { + Context.CreateOrderBy(navigationProperty), + Context.CreateSelect(navigationProperty), + Context.CreateExpand(navigationProperty), + }) + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); } else { @@ -262,6 +233,31 @@ protected override void SetParameters(OpenApiOperation operation) } } } + else if(entitySet != null) + { + CreateParametersForAnnotableOfMany(operation, entitySet) + .Union( + new OpenApiParameter[] { + Context.CreateOrderBy(entitySet), + Context.CreateSelect(entitySet), + Context.CreateExpand(entitySet), + }) + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); + } + } + private IEnumerable CreateParametersForAnnotableOfMany(OpenApiOperation operation, IEdmVocabularyAnnotatable annotable) + { + // Need to verify that TopSupported or others should be applied to navigation source. + // So, how about for the navigation property. + return new OpenApiParameter[] { + Context.CreateTop(annotable), + Context.CreateSkip(annotable), + Context.CreateSearch(annotable), + Context.CreateFilter(annotable), + Context.CreateCount(annotable), + }; } protected override void SetSecurity(OpenApiOperation operation) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index c0438058..7003b8d3 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -19,8 +19,8 @@ public class ODataTypeCastGetOperationHandlerTests [Theory] [InlineData(true)] [InlineData(false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperation(bool enableOperationId) - { + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationProperty(bool enableOperationId) + {// ../People/{id}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee // Arrange IEdmModel model = EdmModelHelper.TripServiceModel; OpenApiConvertSettings settings = new() @@ -66,7 +66,53 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperation(bool enableOp Assert.Null(operation.OperationId); } } - //TODO test on entity set + [Theory] + [InlineData(true)] + [InlineData(false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId) + {// .../People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + + Assert.NotNull(operation.Parameters); + Assert.Equal(8, operation.Parameters.Count); + + Assert.Null(operation.RequestBody); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + } //TODO test on cast cast key //TODO test on cast on single nav property } From ca5bd3b0c35d456660e230c400c8ee5ade0e0a1f Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 26 Nov 2021 12:52:10 -0500 Subject: [PATCH 07/28] - adds support for casting after key segment Signed-off-by: Vincent Biret --- .../ODataTypeCastGetOperationHandler.cs | 215 ++++++++++++------ .../ODataTypeCastGetOperationHandlerTests.cs | 87 ++++++- 2 files changed, 229 insertions(+), 73 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index 3069d11c..2251d21b 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -31,6 +31,12 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler /// internal ODataSegment LastSecondSegment { get; set; } + private bool isKeySegment; + private bool IsSingleElement + { + get => isKeySegment && //TODO add is singleton when implemented + (navigationProperty == null || navigationProperty.TargetMultiplicity() != EdmMultiplicity.Many); + } private NavigationPropertyRestriction restriction; private IEdmEntitySet entitySet; private IEdmNavigationProperty navigationProperty; @@ -50,49 +56,77 @@ protected override void Initialize(ODataContext context, ODataPath path) parentEntityType = LastSecondSegment.EntityType; if(LastSecondSegment is ODataNavigationPropertySegment navigationPropertySegment) { - navigationProperty = navigationPropertySegment.NavigationProperty; - var navigationPropertyPath = string.Join("/", - Path.Segments.Where(s => !(s is ODataKeySegment || s is ODataNavigationSourceSegment - || s is ODataStreamContentSegment || s is ODataStreamPropertySegment)).Select(e => e.Identifier)); - - if(path.FirstSegment is ODataNavigationSourceSegment navigationSourceSegment) - { - NavigationRestrictionsType navigation = navigationSourceSegment.NavigationSource switch { - IEdmEntitySet entitySet => Context.Model.GetRecord(entitySet, CapabilitiesConstants.NavigationRestrictions), - IEdmSingleton singleton => Context.Model.GetRecord(singleton, CapabilitiesConstants.NavigationRestrictions), - _ => null - }; - - if (navigation?.RestrictedProperties != null) - { - restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty != null && r.NavigationProperty == navigationPropertyPath); - } - } + SetNavigationPropertyAndRestrictionFromNavigationSegment(navigationPropertySegment, path); } - else if(LastSecondSegment is ODataNavigationSourceSegment sourceSegment && sourceSegment.NavigationSource is IEdmEntitySet eSet) + else if(LastSecondSegment is ODataNavigationSourceSegment sourceSegment && sourceSegment.NavigationSource is IEdmEntitySet) { - entitySet = eSet; - NavigationRestrictionsType navigation = Context.Model.GetRecord(eSet, CapabilitiesConstants.NavigationRestrictions); - if (navigation?.RestrictedProperties != null) + SetEntitySetAndRestrictionFromSourceSegment(sourceSegment); + } + else if(LastSecondSegment is ODataKeySegment) + { + isKeySegment = true; + var thirdLastSegment = path.Segments.ElementAt(count - SecondLastSegmentIndex - 1); + if(thirdLastSegment is ODataNavigationPropertySegment navigationPropertySegment1) { - restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty == null); + SetNavigationPropertyAndRestrictionFromNavigationSegment(navigationPropertySegment1, path); + } + else if(thirdLastSegment is ODataNavigationSourceSegment sourceSegment1) + { + SetEntitySetAndRestrictionFromSourceSegment(sourceSegment1); } } - //TODO previous segment is a key //TODO previous segment is a single nav property + //TODO singleton if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) { targetEntityType = oDataTypeCastSegment.EntityType; } else throw new NotImplementedException($"type cast type {path.Last().GetType().FullName} not implemented"); + } + + private void SetNavigationPropertyAndRestrictionFromNavigationSegment(ODataNavigationPropertySegment navigationPropertySegment, ODataPath path) + { + navigationProperty = navigationPropertySegment.NavigationProperty; + var navigationPropertyPath = string.Join("/", + Path.Segments.Where(s => !(s is ODataKeySegment || s is ODataNavigationSourceSegment + || s is ODataStreamContentSegment || s is ODataStreamPropertySegment)).Select(e => e.Identifier)); + + if(path.FirstSegment is ODataNavigationSourceSegment navigationSourceSegment) + { + NavigationRestrictionsType navigation = navigationSourceSegment.NavigationSource switch { + IEdmEntitySet entitySet => Context.Model.GetRecord(entitySet, CapabilitiesConstants.NavigationRestrictions), + IEdmSingleton singleton => Context.Model.GetRecord(singleton, CapabilitiesConstants.NavigationRestrictions), + _ => null + }; + if (navigation?.RestrictedProperties != null) + { + restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty != null && r.NavigationProperty == navigationPropertyPath); + } + } + } + + private void SetEntitySetAndRestrictionFromSourceSegment(ODataNavigationSourceSegment sourceSegment) + { + if(sourceSegment.NavigationSource is IEdmEntitySet eSet) + { + entitySet = eSet; + NavigationRestrictionsType navigation = Context.Model.GetRecord(eSet, CapabilitiesConstants.NavigationRestrictions); + if (navigation?.RestrictedProperties != null) + { + restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty == null); + } + } } /// protected override void SetBasicInfo(OpenApiOperation operation) { // Summary - operation.Summary = $"Get the items of type {targetEntityType.ShortQualifiedName()} in the {parentEntityType.ShortQualifiedName()} collection"; + if(IsSingleElement) + operation.Summary = $"Get the item of type {parentEntityType.ShortQualifiedName()} as {targetEntityType.ShortQualifiedName()}"; + else + operation.Summary = $"Get the items of type {targetEntityType.ShortQualifiedName()} in the {parentEntityType.ShortQualifiedName()} collection"; // OperationId if (Context.Settings.EnableOperationId) @@ -106,9 +140,18 @@ protected override void SetBasicInfo(OpenApiOperation operation) /// protected override void SetResponses(OpenApiOperation operation) { + if(IsSingleElement) + SetSingleResponse(operation); + else + SetCollectionResponse(operation); - OpenApiSchema schema = null; + operation.Responses.Add(Constants.StatusCodeDefault, Constants.StatusCodeDefault.GetResponse()); + base.SetResponses(operation); + } + private void SetCollectionResponse(OpenApiOperation operation) + { + OpenApiSchema schema = null; if (Context.Settings.EnableDerivedTypesReferencesForResponses) { schema = EdmModelHelper.GetDerivedTypesReferenceSchema(parentEntityType, Context.Model); @@ -173,10 +216,47 @@ protected override void SetResponses(OpenApiOperation operation) } } }; + } + private void SetSingleResponse(OpenApiOperation operation) + { + OpenApiSchema schema = null; - operation.Responses.Add(Constants.StatusCodeDefault, Constants.StatusCodeDefault.GetResponse()); + if (Context.Settings.EnableDerivedTypesReferencesForResponses) + { + schema = EdmModelHelper.GetDerivedTypesReferenceSchema(targetEntityType, Context.Model); + } - base.SetResponses(operation); + if (schema == null) + { + schema = new OpenApiSchema + { + Reference = new OpenApiReference + { + Type = ReferenceType.Schema, + Id = targetEntityType.FullName() + } + }; + } + operation.Responses = new OpenApiResponses + { + { + Constants.StatusCode200, + new OpenApiResponse + { + Description = "Result entities", + Content = new Dictionary + { + { + Constants.ApplicationJsonMediaType, + new OpenApiMediaType + { + Schema = schema + } + } + }, + } + } + }; } /// protected override void SetTags(OpenApiOperation operation) @@ -192,7 +272,8 @@ protected override void SetTags(OpenApiOperation operation) { Name = name }; - tag.Extensions.Add(Constants.xMsTocType, new OpenApiString("page")); + if(!IsSingleElement) + tag.Extensions.Add(Constants.xMsTocType, new OpenApiString("page")); operation.Tags.Add(tag); Context.AppendTag(tag); @@ -205,9 +286,19 @@ protected override void SetParameters(OpenApiOperation operation) base.SetParameters(operation); if(navigationProperty != null) { - if (navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) + if (IsSingleElement) { - CreateParametersForAnnotableOfMany(operation, navigationProperty) + new OpenApiParameter[] { + Context.CreateSelect(navigationProperty), + Context.CreateExpand(navigationProperty), + } + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); + } + else + { + GetParametersForAnnotableOfMany(navigationProperty) .Union( new OpenApiParameter[] { Context.CreateOrderBy(navigationProperty), @@ -218,36 +309,35 @@ protected override void SetParameters(OpenApiOperation operation) .ToList() .ForEach(p => operation.Parameters.Add(p)); } - else - { - OpenApiParameter parameter = Context.CreateSelect(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - - parameter = Context.CreateExpand(navigationProperty); - if (parameter != null) - { - operation.Parameters.Add(parameter); - } - } } else if(entitySet != null) { - CreateParametersForAnnotableOfMany(operation, entitySet) - .Union( + if(IsSingleElement) + { new OpenApiParameter[] { - Context.CreateOrderBy(entitySet), - Context.CreateSelect(entitySet), - Context.CreateExpand(entitySet), - }) - .Where(x => x != null) - .ToList() - .ForEach(p => operation.Parameters.Add(p)); + Context.CreateSelect(entitySet), + Context.CreateExpand(entitySet), + } + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); + } + else + { + GetParametersForAnnotableOfMany(entitySet) + .Union( + new OpenApiParameter[] { + Context.CreateOrderBy(entitySet), + Context.CreateSelect(entitySet), + Context.CreateExpand(entitySet), + }) + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); + } } } - private IEnumerable CreateParametersForAnnotableOfMany(OpenApiOperation operation, IEdmVocabularyAnnotatable annotable) + private IEnumerable GetParametersForAnnotableOfMany(IEdmVocabularyAnnotatable annotable) { // Need to verify that TopSupported or others should be applied to navigation source. // So, how about for the navigation property. @@ -274,18 +364,15 @@ protected override void SetSecurity(OpenApiOperation operation) protected override void SetExtensions(OpenApiOperation operation) { - if (Context.Settings.EnablePagination) + if (Context.Settings.EnablePagination && !IsSingleElement) { - if (navigationProperty != null && navigationProperty.TargetMultiplicity() == EdmMultiplicity.Many) + OpenApiObject extension = new() { - OpenApiObject extension = new() - { - { "nextLinkName", new OpenApiString("@odata.nextLink")}, - { "operationName", new OpenApiString(Context.Settings.PageableOperationName)} - }; + { "nextLinkName", new OpenApiString("@odata.nextLink")}, + { "operationName", new OpenApiString(Context.Settings.PageableOperationName)} + }; - operation.Extensions.Add(Constants.xMsPageable, extension); - } + operation.Extensions.Add(Constants.xMsPageable, extension); } base.SetExtensions(operation); diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index 7003b8d3..e1e5c292 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -17,15 +17,18 @@ public class ODataTypeCastGetOperationHandlerTests private readonly ODataTypeCastGetOperationHandler _operationHandler = new (); [Theory] - [InlineData(true)] - [InlineData(false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationProperty(bool enableOperationId) + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationProperty(bool enableOperationId, bool enablePagination) {// ../People/{id}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee // Arrange IEdmModel model = EdmModelHelper.TripServiceModel; OpenApiConvertSettings settings = new() { - EnableOperationId = enableOperationId + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, }; ODataContext context = new(model, settings); IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); @@ -48,11 +51,14 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionN Assert.NotNull(operation.Tags); var tag = Assert.Single(operation.Tags); Assert.Equal("Person.Employee", tag.Name); + Assert.Single(tag.Extensions); Assert.NotNull(operation.Parameters); Assert.Equal(9, operation.Parameters.Count); Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Single(operation.Extensions); Assert.Equal(2, operation.Responses.Count); Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); @@ -65,17 +71,21 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionN { Assert.Null(operation.OperationId); } + Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } [Theory] - [InlineData(true)] - [InlineData(false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId) + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId, bool enablePagination) {// .../People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee // Arrange IEdmModel model = EdmModelHelper.TripServiceModel; OpenApiConvertSettings settings = new() { - EnableOperationId = enableOperationId + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, }; ODataContext context = new(model, settings); IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); @@ -95,11 +105,14 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(b Assert.NotNull(operation.Tags); var tag = Assert.Single(operation.Tags); Assert.Equal("Person.Employee", tag.Name); + Assert.Single(tag.Extensions); Assert.NotNull(operation.Parameters); Assert.Equal(8, operation.Parameters.Count); Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Single(operation.Extensions); Assert.Equal(2, operation.Responses.Count); Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); @@ -112,7 +125,63 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(b { Assert.Null(operation.OperationId); } + Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); + } + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySetId(bool enableOperationId, bool enablePagination) + {// .../People/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(3, operation.Parameters.Count); //select, expand, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - //TODO test on cast cast key //TODO test on cast on single nav property + //TODO test on cast singleton } From 11d2116ac0bda0935b7b346341e7431f1f529a88 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 26 Nov 2021 13:59:17 -0500 Subject: [PATCH 08/28] - adds support for single navigation property cast Signed-off-by: Vincent Biret --- .../ODataTypeCastGetOperationHandler.cs | 7 ++- .../ODataTypeCastGetOperationHandlerTests.cs | 59 ++++++++++++++++++- 2 files changed, 61 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index 2251d21b..093fc0cc 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -34,8 +34,10 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler private bool isKeySegment; private bool IsSingleElement { - get => isKeySegment && //TODO add is singleton when implemented - (navigationProperty == null || navigationProperty.TargetMultiplicity() != EdmMultiplicity.Many); + get => isKeySegment || //TODO add is singleton when implemented + (navigationProperty != null && + !navigationProperty.Type.IsCollection() && + entitySet == null); } private NavigationPropertyRestriction restriction; private IEdmEntitySet entitySet; @@ -75,7 +77,6 @@ protected override void Initialize(ODataContext context, ODataPath path) SetEntitySetAndRestrictionFromSourceSegment(sourceSegment1); } } - //TODO previous segment is a single nav property //TODO singleton if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) { diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index e1e5c292..ae086f72 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -91,7 +91,6 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(b IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); Assert.NotNull(people); - IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); ODataPath path = new(new ODataNavigationSourceSegment(people), new ODataTypeCastSegment(employee)); @@ -182,6 +181,62 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySetId } Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - //TODO test on cast on single nav property + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleNavigationproperty(bool enableOperationId, bool enablePagination) + {// .../People/{id}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "BestFriend"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(3, operation.Parameters.Count); //select, expand, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); + } //TODO test on cast singleton } From da1afbea3ebae6cb087ec99bc0b48e8ee2186d42 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 26 Nov 2021 14:10:08 -0500 Subject: [PATCH 09/28] - adds support for singleton downcast Signed-off-by: Vincent Biret --- .../ODataTypeCastGetOperationHandler.cs | 47 ++++++++++++---- .../ODataTypeCastGetOperationHandlerTests.cs | 54 ++++++++++++++++++- 2 files changed, 91 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index 093fc0cc..8b359872 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -34,12 +34,14 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler private bool isKeySegment; private bool IsSingleElement { - get => isKeySegment || //TODO add is singleton when implemented + get => isKeySegment || + singleton != null || (navigationProperty != null && !navigationProperty.Type.IsCollection() && entitySet == null); } private NavigationPropertyRestriction restriction; + private IEdmSingleton singleton; private IEdmEntitySet entitySet; private IEdmNavigationProperty navigationProperty; private IEdmEntityType parentEntityType; @@ -60,9 +62,12 @@ protected override void Initialize(ODataContext context, ODataPath path) { SetNavigationPropertyAndRestrictionFromNavigationSegment(navigationPropertySegment, path); } - else if(LastSecondSegment is ODataNavigationSourceSegment sourceSegment && sourceSegment.NavigationSource is IEdmEntitySet) + else if(LastSecondSegment is ODataNavigationSourceSegment sourceSegment) { - SetEntitySetAndRestrictionFromSourceSegment(sourceSegment); + if(sourceSegment.NavigationSource is IEdmEntitySet) + SetEntitySetAndRestrictionFromSourceSegment(sourceSegment); + else if (sourceSegment.NavigationSource is IEdmSingleton) + SetSingletonAndRestrictionFromSourceSegment(sourceSegment); } else if(LastSecondSegment is ODataKeySegment) { @@ -77,7 +82,6 @@ protected override void Initialize(ODataContext context, ODataPath path) SetEntitySetAndRestrictionFromSourceSegment(sourceSegment1); } } - //TODO singleton if(path.Last() is ODataTypeCastSegment oDataTypeCastSegment) { targetEntityType = oDataTypeCastSegment.EntityType; @@ -112,11 +116,26 @@ private void SetEntitySetAndRestrictionFromSourceSegment(ODataNavigationSourceSe if(sourceSegment.NavigationSource is IEdmEntitySet eSet) { entitySet = eSet; - NavigationRestrictionsType navigation = Context.Model.GetRecord(eSet, CapabilitiesConstants.NavigationRestrictions); - if (navigation?.RestrictedProperties != null) - { - restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty == null); - } + SetRestrictionFromAnnotable(eSet); + } + } + + private void SetSingletonAndRestrictionFromSourceSegment(ODataNavigationSourceSegment sourceSegment) + { + if(sourceSegment.NavigationSource is IEdmSingleton sTon) + { + singleton = sTon; + SetRestrictionFromAnnotable(sTon); + } + + } + + private void SetRestrictionFromAnnotable(IEdmVocabularyAnnotatable annotable) + { + NavigationRestrictionsType navigation = Context.Model.GetRecord(annotable, CapabilitiesConstants.NavigationRestrictions); + if (navigation?.RestrictedProperties != null) + { + restriction = navigation.RestrictedProperties.FirstOrDefault(r => r.NavigationProperty == null); } } @@ -337,6 +356,16 @@ protected override void SetParameters(OpenApiOperation operation) .ForEach(p => operation.Parameters.Add(p)); } } + else if(singleton != null) + { + new OpenApiParameter[] { + Context.CreateSelect(singleton), + Context.CreateExpand(singleton), + } + .Where(x => x != null) + .ToList() + .ForEach(p => operation.Parameters.Add(p)); + } } private IEnumerable GetParametersForAnnotableOfMany(IEdmVocabularyAnnotatable annotable) { diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index ae086f72..bdd94088 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -238,5 +238,57 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleNavig } Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - //TODO test on cast singleton + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleton(bool enableOperationId, bool enablePagination) + {// .../Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmSingleton me = model.EntityContainer.FindSingleton("Me"); + Assert.NotNull(me); + + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(me), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(2, operation.Parameters.Count); //select, expand + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); + } } From 299bfc9aa27cf011a154cacba195d8ea3e5a3de3 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 2 Dec 2021 14:39:14 -0500 Subject: [PATCH 10/28] - adds a unit test for the id under navigation property case --- .../ODataTypeCastGetOperationHandlerTests.cs | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index bdd94088..e24497a3 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -78,6 +78,64 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionN [InlineData(true, false)] [InlineData(false, true)] [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationPropertyId(bool enableOperationId, bool enablePagination) + {// ../People/{id}/Friends/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/ + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataKeySegment(people.EntityType()), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(4, operation.Parameters.Count); //select, expand, id, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); + } + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId, bool enablePagination) {// .../People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee // Arrange From 386c3277d6db382b53b2707ad1b0f44b61e2f86e Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 10:09:51 -0500 Subject: [PATCH 11/28] - adds cast segments for all cases --- .../Edm/ODataPathProvider.cs | 56 +++++++++++++------ 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 45df5c27..e1eeef14 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -183,24 +183,33 @@ private void RetrieveNavigationSourcePaths(IEdmNavigationSource navigationSource IEdmEntityType entityType = navigationSource.EntityType(); CountRestrictionsType count = null; + //TODO read the cast restrictions annotation + var derivedTypes = convertSettings.EnableODataTypeCast ? _model + .FindAllDerivedTypes(entityType) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray() : + new IEdmEntityType[]{}; + // for entity set, create a path with key and a $count path if (entitySet != null) { count = _model.GetRecord(entitySet, CapabilitiesConstants.CountRestrictions); - if(count?.Countable ?? true) + if(count?.Countable ?? true) // ~/entitySet/$count CreateCountPath(path, convertSettings); - //TODO read the cast restrictions annotation - var derivedTypes = _model - .FindAllDerivedTypes(entitySet.EntityType()) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .OfType() - .ToArray(); - if(derivedTypes.Any()) + if(derivedTypes.Any()) // ~/entitySet/subType CreateTypeCastPaths(path, convertSettings, derivedTypes); path.Push(new ODataKeySegment(entityType)); AppendPath(path.Clone()); + + if(derivedTypes.Any()) // ~/entitySet/{id}/subType + CreateTypeCastPaths(path, convertSettings, derivedTypes); + } + else if (navigationSource is IEdmSingleton singleton && derivedTypes.Any()) + { // ~/singleton/subType + CreateTypeCastPaths(path, convertSettings, derivedTypes); } // media entity @@ -306,14 +315,17 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr CreateCountPath(currentPath, convertSettings); } - //TODO read the cast restrictions annotation - var derivedTypes = _model - .FindAllDerivedTypes(navigationProperty.DeclaringType) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .OfType() - .ToArray(); - if(derivedTypes.Any()) - CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); + if (convertSettings.EnableODataTypeCast) + { + //TODO read the cast restrictions annotation + var derivedTypes = _model + .FindAllDerivedTypes(navigationProperty.DeclaringType) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray(); + if(derivedTypes.Any()) // ~/entityset/{key}/collection-valued-Nav/subtype + CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); + } } if (!navigationProperty.ContainsTarget) @@ -340,6 +352,18 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr { currentPath.Push(new ODataKeySegment(navEntityType)); AppendPath(currentPath.Clone()); + + if (convertSettings.EnableODataTypeCast) + { + //TODO read the cast restrictions annotation + var derivedTypes = _model + .FindAllDerivedTypes(navigationProperty.DeclaringType) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray(); + if(derivedTypes.Any()) // ~/entityset/{key}/collection-valued-Nav/{id}/subtype + CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); + } } // Get possible stream paths for the navigation entity type From 9b41326a47d5fe9d1cd617febde351a1844de59d Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 10:27:03 -0500 Subject: [PATCH 12/28] - refactored cast segments addition to avoid duplication --- .../Edm/ODataPathProvider.cs | 60 +++++++------------ 1 file changed, 20 insertions(+), 40 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index e1eeef14..398134d7 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -183,14 +183,6 @@ private void RetrieveNavigationSourcePaths(IEdmNavigationSource navigationSource IEdmEntityType entityType = navigationSource.EntityType(); CountRestrictionsType count = null; - //TODO read the cast restrictions annotation - var derivedTypes = convertSettings.EnableODataTypeCast ? _model - .FindAllDerivedTypes(entityType) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .OfType() - .ToArray() : - new IEdmEntityType[]{}; - // for entity set, create a path with key and a $count path if (entitySet != null) { @@ -198,18 +190,16 @@ private void RetrieveNavigationSourcePaths(IEdmNavigationSource navigationSource if(count?.Countable ?? true) // ~/entitySet/$count CreateCountPath(path, convertSettings); - if(derivedTypes.Any()) // ~/entitySet/subType - CreateTypeCastPaths(path, convertSettings, derivedTypes); + CreateTypeCastPaths(path, convertSettings, entityType, entitySet); // ~/entitySet/subType path.Push(new ODataKeySegment(entityType)); AppendPath(path.Clone()); - if(derivedTypes.Any()) // ~/entitySet/{id}/subType - CreateTypeCastPaths(path, convertSettings, derivedTypes); + CreateTypeCastPaths(path, convertSettings, entityType, entitySet); // ~/entitySet/{id}/subType } - else if (navigationSource is IEdmSingleton singleton && derivedTypes.Any()) + else if (navigationSource is IEdmSingleton singleton) { // ~/singleton/subType - CreateTypeCastPaths(path, convertSettings, derivedTypes); + CreateTypeCastPaths(path, convertSettings, entityType, singleton); } // media entity @@ -315,17 +305,7 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr CreateCountPath(currentPath, convertSettings); } - if (convertSettings.EnableODataTypeCast) - { - //TODO read the cast restrictions annotation - var derivedTypes = _model - .FindAllDerivedTypes(navigationProperty.DeclaringType) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .OfType() - .ToArray(); - if(derivedTypes.Any()) // ~/entityset/{key}/collection-valued-Nav/subtype - CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); - } + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/subtype } if (!navigationProperty.ContainsTarget) @@ -353,17 +333,7 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr currentPath.Push(new ODataKeySegment(navEntityType)); AppendPath(currentPath.Clone()); - if (convertSettings.EnableODataTypeCast) - { - //TODO read the cast restrictions annotation - var derivedTypes = _model - .FindAllDerivedTypes(navigationProperty.DeclaringType) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .OfType() - .ToArray(); - if(derivedTypes.Any()) // ~/entityset/{key}/collection-valued-Nav/{id}/subtype - CreateTypeCastPaths(currentPath, convertSettings, derivedTypes); - } + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype } // Get possible stream paths for the navigation entity type @@ -445,13 +415,23 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve /// /// The current OData path. /// The settings for the current conversion. - /// The target types to generate a path for. - private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, params IEdmEntityType[] targetTypes) + /// The type that is being inherited from to which this method will add downcast path segments. + /// The annotable navigation source to read cast annotations from. + private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotatable) { if(currentPath == null) throw new ArgumentNullException(nameof(currentPath)); if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings)); - if(!convertSettings.EnableODataTypeCast || targetTypes == null || !targetTypes.Any()) return; - + if(structuredType == null) throw new ArgumentNullException(nameof(structuredType)); + if(annotatable == null) throw new ArgumentNullException(nameof(annotatable)); + if(!convertSettings.EnableODataTypeCast) return; + + //TODO read the cast restrictions annotation + var targetTypes = _model + .FindAllDerivedTypes(structuredType) + .Where(x => x.TypeKind == EdmTypeKind.Entity) + .OfType() + .ToArray(); + foreach(var targetType in targetTypes) { var castPath = currentPath.Clone(); From 9cfbc3d44c2745759f10911cc8f700a139057270 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 12:30:26 -0500 Subject: [PATCH 13/28] - adds derived type annotation reading Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 398134d7..fb05a9dc 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -416,19 +416,25 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve /// The current OData path. /// The settings for the current conversion. /// The type that is being inherited from to which this method will add downcast path segments. - /// The annotable navigation source to read cast annotations from. - private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotatable) + /// The annotable navigation source to read cast annotations from. + private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable) { if(currentPath == null) throw new ArgumentNullException(nameof(currentPath)); if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings)); if(structuredType == null) throw new ArgumentNullException(nameof(structuredType)); - if(annotatable == null) throw new ArgumentNullException(nameof(annotatable)); + if(annotable == null) throw new ArgumentNullException(nameof(annotable)); if(!convertSettings.EnableODataTypeCast) return; - //TODO read the cast restrictions annotation + var annotedTypeNames = GetDerivedTypeConstaintTypeNames(annotable); + + if(!annotedTypeNames.Any()) return; // we don't want to generate any downcast path item if there is no type cast annotation. + + var annotedTypeNamesSet = new HashSet(annotedTypeNames, StringComparer.OrdinalIgnoreCase); + var targetTypes = _model .FindAllDerivedTypes(structuredType) .Where(x => x.TypeKind == EdmTypeKind.Entity) + .Where(x => annotedTypeNames.Contains(x.FullTypeName())) .OfType() .ToArray(); @@ -658,9 +664,11 @@ private bool HasUnsatisfiedDerivedTypeConstraint( OpenApiConvertSettings convertSettings) { return convertSettings.RequireDerivedTypesConstraintForBoundOperations && - !(_model.GetCollection(annotatable, "Org.OData.Validation.V1.DerivedTypeConstraint") ?? Enumerable.Empty()) + !GetDerivedTypeConstaintTypeNames(annotatable) .Any(c => c.Equals(baseType.FullName(), StringComparison.OrdinalIgnoreCase)); } + private IEnumerable GetDerivedTypeConstaintTypeNames(IEdmVocabularyAnnotatable annotatable) => + _model.GetCollection(annotatable, "Org.OData.Validation.V1.DerivedTypeConstraint") ?? Enumerable.Empty(); private bool AppendBoundOperationOnDerivedNavigationPropertyPath( IEdmOperation edmOperation, From 3b7c0cff079e65e013f4f75888d74e8a2e26910f Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 13:20:23 -0500 Subject: [PATCH 14/28] - adds a setting to require or not the derived type constraint Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 16 +++++++++++----- .../OpenApiConvertSettings.cs | 8 +++++++- .../PublicAPI.Unshipped.txt | 2 ++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index fb05a9dc..ab4580fe 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -427,14 +427,20 @@ private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings c var annotedTypeNames = GetDerivedTypeConstaintTypeNames(annotable); - if(!annotedTypeNames.Any()) return; // we don't want to generate any downcast path item if there is no type cast annotation. + if(!annotedTypeNames.Any() && convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments) return; // we don't want to generate any downcast path item if there is no type cast annotation. var annotedTypeNamesSet = new HashSet(annotedTypeNames, StringComparer.OrdinalIgnoreCase); - - var targetTypes = _model + + bool filter(IEdmStructuredType x) => + convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && annotedTypeNames.Contains(x.FullTypeName()) || + !convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && ( + !annotedTypeNames.Any() || + annotedTypeNames.Contains(x.FullTypeName()) + ); + + var targetTypes = _model .FindAllDerivedTypes(structuredType) - .Where(x => x.TypeKind == EdmTypeKind.Entity) - .Where(x => annotedTypeNames.Contains(x.FullTypeName())) + .Where(x => x.TypeKind == EdmTypeKind.Entity && filter(x)) .OfType() .ToArray(); diff --git a/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs b/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs index 0c50c861..e8a01752 100644 --- a/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs +++ b/src/Microsoft.OpenApi.OData.Reader/OpenApiConvertSettings.cs @@ -194,10 +194,15 @@ public string PathPrefix public bool AddSingleQuotesForStringParameters { get; set; } = false; /// - /// Gets/sets a value indicating whether or not to include the OData type cast segments on entity sets. + /// Gets/sets a value indicating whether or not to include the OData type cast segments. /// public bool EnableODataTypeCast { get; set; } = true; + /// + /// Gets/sets a value indicating whether or not to require a derived types constraint to include the OData type cast segments. + /// + public bool RequireDerivedTypesConstraintForODataTypeCastSegments { get; set; } = true; + internal OpenApiConvertSettings Clone() { var newSettings = new OpenApiConvertSettings @@ -231,6 +236,7 @@ internal OpenApiConvertSettings Clone() EnableDollarCountPath = this.EnableDollarCountPath, AddSingleQuotesForStringParameters = this.AddSingleQuotesForStringParameters, EnableODataTypeCast = this.EnableODataTypeCast, + RequireDerivedTypesConstraintForODataTypeCastSegments = this.RequireDerivedTypesConstraintForODataTypeCastSegments, }; return newSettings; diff --git a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt index f68b2bae..9585ab4d 100644 --- a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt +++ b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt @@ -137,6 +137,8 @@ Microsoft.OpenApi.OData.OpenApiConvertSettings.AddSingleQuotesForStringParameter Microsoft.OpenApi.OData.OpenApiConvertSettings.AddSingleQuotesForStringParameters.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableODataTypeCast.get -> bool Microsoft.OpenApi.OData.OpenApiConvertSettings.EnableODataTypeCast.set -> void +Microsoft.OpenApi.OData.OpenApiConvertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments.get -> bool +Microsoft.OpenApi.OData.OpenApiConvertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.PrefixEntityTypeNameBeforeKey.get -> bool Microsoft.OpenApi.OData.OpenApiConvertSettings.PrefixEntityTypeNameBeforeKey.set -> void Microsoft.OpenApi.OData.OpenApiConvertSettings.RequireDerivedTypesConstraintForBoundOperations.get -> bool From 0125bc1efee01c4520e4de4cd6abc7a158d912e7 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 14:17:56 -0500 Subject: [PATCH 15/28] - fixes a bug where cast would be missing for single valued properties - fixes a bug where cast would be missing for non contained properties after the key Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index ab4580fe..26b0fe99 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -304,9 +304,10 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr // ~/entityset/{key}/collection-valued-Nav/$count CreateCountPath(currentPath, convertSettings); } - - CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/subtype } + // ~/entityset/{key}/collection-valued-Nav/subtype + // ~/entityset/{key}/single-valued-Nav/subtype + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); if (!navigationProperty.ContainsTarget) { @@ -320,6 +321,8 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr // Collection-valued: DELETE ~/entityset/{key}/collection-valued-Nav/{key}/$ref currentPath.Push(new ODataKeySegment(navEntityType)); CreateRefPath(currentPath); + + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype } // Get possible stream paths for the navigation entity type From 7649358e024e37716bb10758d67f6bd5374656f5 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 14:18:27 -0500 Subject: [PATCH 16/28] - adds integration test data for odata cast Signed-off-by: Vincent Biret --- .../Resources/TripService.OData.xml | 35 +- .../Resources/TripService.OpenApi.V2.json | 13548 +++++++++++--- .../Resources/TripService.OpenApi.V2.yaml | 10428 +++++++++-- .../Resources/TripService.OpenApi.json | 14962 +++++++++++++--- .../Resources/TripService.OpenApi.yaml | 10672 +++++++++-- 5 files changed, 41169 insertions(+), 8476 deletions(-) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OData.xml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OData.xml index 12d32255..b86d332c 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OData.xml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OData.xml @@ -17,9 +17,22 @@ - + + + + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + + + + + + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + + @@ -140,6 +153,11 @@ + + + + + @@ -158,6 +176,12 @@ + + + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + + @@ -168,7 +192,14 @@ - + + + + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + + + 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 9e91ea9e..d4d498f7 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 @@ -877,65 +877,17 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Person" + "Person.Employee" ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, { "in": "query", "name": "$select", @@ -979,158 +931,81 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Friends/{UserName}/$ref": { - "delete": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Person" - ], - "summary": "Delete ref of navigation property Friends for Me", - "operationId": "Me.DeleteRefFriends", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } + "Me.Functions" ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ - "text/plain" + "application/json" ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Friends/$ref": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "Me.Person" + "Me.Functions" ], - "summary": "Get ref of Friends from Me", - "operationId": "Me.ListRefFriends", + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], "parameters": [ { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -1140,14 +1015,26 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Person" + "Me.Actions" ], - "summary": "Create new navigation property ref to Friends for Me", - "operationId": "Me.CreateRefFriends", + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -1158,61 +1045,266 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "schema": { - "type": "object" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Functions" + "Me.Actions" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ "application/json" ], - "responses": { - "200": { - "description": "Success", + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - } + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -1229,7 +1321,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1246,15 +1338,25 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -1287,7 +1389,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1304,16 +1406,26 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -1348,15 +1460,25 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -1387,16 +1509,25 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/Me/Trips": { + "/Me/Friends": { "get": { "tags": [ - "Me.Trip" + "Me.Person" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "produces": [ "application/json" ], @@ -1423,22 +1554,28 @@ "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -1450,15 +1587,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1471,7 +1613,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1481,13 +1625,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of Trip", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -1498,37 +1642,40 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/Me/Friends/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Trip" - ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "Me.Person" ], + "summary": "Delete ref of navigation property Friends for Me", + "operationId": "Me.DeleteRefFriends", "parameters": [ { - "in": "body", - "name": "body", - "description": "New navigation property", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "201": { - "description": "Created navigation property.", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" @@ -1537,28 +1684,24 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Trips/{TripId}": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Trip" + "Person.Employee" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "query", @@ -1567,15 +1710,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1588,7 +1736,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1596,124 +1746,169 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Trip" + "Me.Functions" ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", - "consumes": [ + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property values", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "Me.Trip" + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { - "get": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "Me.Functions" + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -1729,66 +1924,156 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Trips/{TripId}/PlanItems": { - "get": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "Me.Actions" ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/search" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ { - "$ref": "#/parameters/filter" + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/count" + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "query", @@ -1797,11 +2082,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1813,7 +2107,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1821,15 +2118,99 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of PlanItem", + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -1838,167 +2219,7983 @@ "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Friends from Me", + "operationId": "Me.ListRefFriends", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Friends for Me", + "operationId": "Me.CreateRefFriends", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Trips": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trip" + ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "201": { + "description": "Created navigation property.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "Me.Trip" + ], + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "Me.Trip" + ], + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/Me/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "path", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entities", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + } + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New entity", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "schema": { + "type": "string" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref values", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Trips": { + "get": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "201": { + "description": "Created navigation property.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}": { + "get": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "path", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entities", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + } + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New entity", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "People.Person" + ], + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "schema": { + "type": "string" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref values", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } } }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Trips.PlanItem" + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Trips/{TripId}/PlanItems/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/Me/Trips/{TripId}/PlanItems/$ref": { - "get": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -2008,90 +10205,163 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/Me/Trips/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ - "text/plain" + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople": { + "/People/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -2183,7 +10453,7 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", "schema": { "title": "Collection of Person", "type": "object", @@ -2200,52 +10470,273 @@ "default": { "$ref": "#/responses/error" } - } - }, - "post": { + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", - "consumes": [ - "application/json" + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "New entity", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "201": { - "description": "Created entity", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", "produces": [ "application/json" ], @@ -2259,65 +10750,77 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "People.Actions" ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -2330,13 +10833,32 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", - "description": "New property values", + "description": "Action parameters", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], @@ -2348,14 +10870,31 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", "parameters": [ { "in": "path", @@ -2366,31 +10905,60 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/BestFriend": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Manager" ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -2403,6 +10971,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "query", "name": "$select", @@ -2446,26 +11022,78 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/BestFriend/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -2477,31 +11105,71 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Success", "schema": { - "type": "string" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "put": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "People.Actions" ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -2511,36 +11179,81 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -2550,162 +11263,68 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, "schema": { - "title": "Collection of Person", "type": "object", "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" } } } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "in": "path", @@ -2724,30 +11343,46 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/Friends/$count": { + "/People/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", "operationId": "Get.Count.Friends", @@ -2777,13 +11412,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "produces": [ "application/json" ], @@ -2869,10 +11504,10 @@ }, "post": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", "consumes": [ "application/json" ], @@ -2915,13 +11550,86 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], @@ -2947,15 +11655,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -2980,7 +11700,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -2997,15 +11717,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -3046,7 +11778,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -3063,16 +11795,28 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -3115,15 +11859,27 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -3162,16 +11918,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/Trips": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Trip" + "Person.Manager" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -3184,87 +11951,138 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$expand", + "description": "Expand related entities", "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "title": "Collection of Trip", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -3280,15 +12098,28 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -3307,36 +12138,68 @@ { "in": "body", "name": "body", - "description": "New navigation property", + "description": "Action parameters", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { - "201": { - "description": "Created navigation property.", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}": { - "get": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ @@ -3349,71 +12212,116 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { "tags": [ - "NewComePeople.Trip" + "Person.Employee" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ "application/json" ], "parameters": [ @@ -3426,43 +12334,69 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "body", - "name": "body", - "description": "New navigation property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { + } + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "NewComePeople.Trip" + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "in": "path", @@ -3471,43 +12405,41 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -3522,27 +12454,23 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName='{userName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -3553,15 +12481,30 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { - "get": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", "produces": [ "application/json" ], @@ -3575,92 +12518,37 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*" - ], - "type": "string" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "title": "Collection of PlanItem", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -3670,16 +12558,32 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", @@ -3690,57 +12594,117 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "@id", - "description": "Delete Uri", + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.GetFavoriteAirline", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -3750,39 +12714,41 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Functions" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.GetFriendsTrips", "produces": [ "application/json" ], @@ -3797,63 +12763,23 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName='{userName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -3863,14 +12789,28 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.GetPeersForTrip", "consumes": [ "application/json" ], @@ -3886,152 +12826,80 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", - "produces": [ - "text/plain" - ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Person" + "Person.Manager" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], "parameters": [ { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "query", @@ -4076,69 +12944,70 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } } - }, - "post": { + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "People.Person" - ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", - "consumes": [ - "application/json" + "People.Functions" ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "New entity", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "201": { - "description": "Created entity", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -4152,68 +13021,61 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -4226,29 +13088,70 @@ { "in": "body", "name": "body", - "description": "New property values", + "description": "Action parameters", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "People.Person" + "People.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ + "application/json" ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", "parameters": [ { "in": "path", @@ -4259,10 +13162,18 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } ], "responses": { @@ -4273,18 +13184,18 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" } }, - "/People/{UserName}/BestFriend": { - "get": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ @@ -4297,68 +13208,56 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/BestFriend/$ref": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -4370,28 +13269,55 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Success", "schema": { - "type": "string" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "put": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.ShareTrip", "consumes": [ "application/json" ], @@ -4407,12 +13333,20 @@ { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } @@ -4425,15 +13359,31 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "People.Person" + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.UpdatePersonLastName", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -4444,30 +13394,53 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/People/{UserName}/Friends": { + "/People/{UserName}/Trips": { "get": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get Trips from People", + "description": "Collection of trips.", + "operationId": "People.ListTrips", "produces": [ "application/json" ], @@ -4502,28 +13475,22 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } @@ -4535,20 +13502,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -4561,9 +13523,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -4573,13 +13533,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -4590,62 +13550,19 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + }, + "post": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } + "summary": "Create new navigation property to Trips for People", + "description": "Collection of trips.", + "operationId": "People.CreateTrips", + "consumes": [ + "application/json" ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -4655,28 +13572,39 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } } ], "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property.", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/$ref": { + "/People/{UserName}/Trips/{TripId}": { "get": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", + "summary": "Get Trips from People", + "description": "Collection of trips.", + "operationId": "People.GetTrips", "produces": [ "application/json" ], @@ -4690,49 +13618,45 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "$ref": "#/parameters/count" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$expand", + "description": "Expand related entities", "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "*", + "PlanItems" ], "type": "string" } @@ -4740,18 +13664,9 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { @@ -4760,18 +13675,16 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "patch": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Update the navigation property Trips in People", + "description": "Collection of trips.", + "operationId": "People.UpdateTrips", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -4781,25 +13694,74 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "New navigation property values", "required": true, "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Trip" + ], + "summary": "Delete navigation property Trips for People", + "description": "Collection of trips.", + "operationId": "People.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" @@ -4808,13 +13770,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ "People.Functions" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.GetFavoriteAirline", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "People.Person.Trips.Trip.GetInvolvedPeople", "produces": [ "application/json" ], @@ -4826,13 +13788,33 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { @@ -4842,13 +13824,13 @@ "x-ms-docs-operation-type": "function" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Trips/{TripId}/PlanItems": { "get": { "tags": [ - "People.Functions" + "People.Trips.PlanItem" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.GetFriendsTrips", + "summary": "Get PlanItems from People", + "operationId": "People.Trips.ListPlanItems", "produces": [ "application/json" ], @@ -4862,24 +13844,92 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", - "required": true, - "type": "string" + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Person", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -4889,22 +13939,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "People.Trips.PlanItem" ], + "summary": "Delete ref of navigation property PlanItems for People", + "operationId": "People.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", @@ -4915,88 +13959,38 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -5007,18 +14001,15 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -5031,40 +14022,36 @@ }, { "in": "path", - "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" + } } }, - "/People/{UserName}/Trips": { + "/People/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "People.Trip" + "People.Trips.PlanItem" ], - "summary": "Get Trips from People", - "description": "Collection of trips.", - "operationId": "People.ListTrips", + "summary": "Get ref of PlanItems from People", + "operationId": "People.Trips.ListRefPlanItems", "produces": [ "application/json" ], @@ -5077,6 +14064,17 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "$ref": "#/parameters/top" }, @@ -5095,59 +14093,20 @@ { "in": "query", "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", + "description": "Order items by property values", "type": "array", "items": { "enum": [ - "*", - "PlanItems" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -5155,15 +14114,15 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Trip", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -5177,11 +14136,10 @@ }, "post": { "tags": [ - "People.Trip" + "People.Trips.PlanItem" ], - "summary": "Create new navigation property to Trips for People", - "description": "Collection of trips.", - "operationId": "People.CreateTrips", + "summary": "Create new navigation property ref to PlanItems for People", + "operationId": "People.Trips.CreateRefPlanItems", "consumes": [ "application/json" ], @@ -5197,21 +14155,35 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "body", "name": "body", - "description": "New navigation property", + "description": "New navigation property ref value", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { "201": { - "description": "Created navigation property.", + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object" } }, "default": { @@ -5221,16 +14193,12 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Trips/{TripId}": { + "/People/{UserName}/Trips/$count": { "get": { - "tags": [ - "People.Trip" - ], - "summary": "Get Trips from People", - "description": "Collection of trips.", - "operationId": "People.GetTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -5240,18 +14208,52 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.People", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "query", "name": "$select", @@ -5259,15 +14261,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5280,7 +14287,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5288,99 +14297,208 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "People.Trip" + "People.Functions" ], - "summary": "Update the navigation property Trips in People", - "description": "Collection of trips.", - "operationId": "People.UpdateTrips", - "consumes": [ + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName='{userName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ { "in": "body", "name": "body", - "description": "New navigation property values", + "description": "Action parameters", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Trip" + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" ], - "summary": "Delete navigation property Trips for People", - "description": "Collection of trips.", - "operationId": "People.DeleteTrips", "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { @@ -5391,52 +14509,49 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "People.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "People.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", "type": "object", "properties": { "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "default": false, + "type": "boolean" } } } @@ -5446,74 +14561,31 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/People/{UserName}/Trips/{TripId}/PlanItems": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Trips.PlanItem" + "Person.Manager" ], - "summary": "Get PlanItems from People", - "operationId": "People.Trips.ListPlanItems", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - }, { "in": "query", "name": "$select", @@ -5521,11 +14593,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5537,7 +14618,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5545,208 +14629,83 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { - "tags": [ - "People.Trips.PlanItem" - ], - "summary": "Delete ref of navigation property PlanItems for People", - "operationId": "People.Trips.DeleteRefPlanItems", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "produces": [ - "text/plain" + "tags": [ + "People.Functions" ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - } + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "People.Trips.PlanItem" + "People.Functions" ], - "summary": "Get ref of PlanItems from People", - "operationId": "People.Trips.ListRefPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName='{userName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -5756,14 +14715,28 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for People", - "operationId": "People.Trips.CreateRefPlanItems", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -5771,101 +14744,168 @@ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "schema": { - "type": "object" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People/{UserName}/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", - "produces": [ - "text/plain" + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/$count": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ - "text/plain" + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, "/ResetDataSource": { "post": { @@ -6559,6 +15599,9 @@ "name": "Me.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "Person.Employee" + }, { "name": "Me.Functions", "x-ms-docs-toc-type": "container" @@ -6567,6 +15610,9 @@ "name": "Me.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "Person.Manager" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" 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 0a4631f7..5462bcf8 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 @@ -594,49 +594,15 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/Friends: + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - in: query name: $select description: Select properties to be returned @@ -671,9 +637,103 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of Person + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee type: object properties: value: @@ -682,136 +742,144 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' + - in: body + name: body + description: Action parameters required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Friends/$count: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Friends + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - - text/plain + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - /Me/Friends/$ref: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - UserName - - UserName desc - FirstName - - FirstName desc - LastName - - LastName desc - MiddleName - - MiddleName desc - Gender - - Gender desc - Age - - Age desc - Emails - - Emails desc - AddressInfo - - AddressInfo desc - HomeAddress - - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - Features - - Features desc + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. + description: Result entities schema: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json responses: @@ -822,12 +890,21 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -840,7 +917,7 @@ paths: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -850,12 +927,21 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -879,7 +965,7 @@ paths: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -889,13 +975,22 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.ShareTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: @@ -919,12 +1014,21 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -945,13 +1049,21 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - /Me/Trips: + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends: get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends produces: - application/json parameters: @@ -966,22 +1078,28 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - in: query name: $select @@ -989,15 +1107,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -1006,81 +1129,86 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of Trip + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + '/Me/Friends/{UserName}/$ref': + delete: tags: - - Me.Trip - summary: Create new navigation property to Trips for Me - description: Collection of trips. - operationId: Me.CreateTrips - consumes: - - application/json - produces: - - application/json + - Me.Person + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends parameters: - - in: body - name: body - description: New navigation property + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '201': - description: Created navigation property. - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.GetTrips + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -1089,122 +1217,6152 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - Me.Trip - summary: Update the navigation property Trips in Me - description: Collection of trips. - operationId: Me.UpdateTrips - consumes: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - Me.Trip - summary: Delete navigation property Trips for Me - description: Collection of trips. - operationId: Me.DeleteTrips - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: header - name: If-Match - description: ETag type: string + x-ms-docs-key-type: Person responses: - '204': + '200': description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - Me.Functions - summary: Invoke function GetInvolvedPeople - operationId: Me.Trips.Trip.GetInvolvedPeople + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string responses: '200': description: Success schema: - title: Collection of Trip + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/Me/Trips/{TripId}/PlanItems': - get: + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - Me.Trips.PlanItem - summary: Get PlanItems from Me - operationId: Me.Trips.ListPlanItems + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' - required: true + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Friends/$ref: + get: + tags: + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: + post: + tags: + - Me.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Trips: + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trip + summary: Create new navigation property to Trips for Me + description: Collection of trips. + operationId: Me.CreateTrips + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '201': + description: Created navigation property. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}': + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.GetTrips + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - Me.Trip + summary: Update the navigation property Trips in Me + description: Collection of trips. + operationId: Me.UpdateTrips + consumes: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - Me.Trip + summary: Delete navigation property Trips for Me + description: Collection of trips. + operationId: Me.DeleteTrips + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - Me.Functions + summary: Invoke function GetInvolvedPeople + operationId: Me.Trips.Trip.GetInvolvedPeople + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/Me/Trips/{TripId}/PlanItems': + get: + tags: + - Me.Trips.PlanItem + summary: Get PlanItems from Me + operationId: Me.Trips.ListPlanItems + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - Me.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for Me + operationId: Me.Trips.DeleteRefPlanItems + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + produces: + - text/plain + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/Me/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - Me.Trips.PlanItem + summary: Get ref of PlanItems from Me + operationId: Me.Trips.ListRefPlanItems + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for Me + operationId: Me.Trips.CreateRefPlanItems + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Trips/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /NewComePeople: + get: + tags: + - NewComePeople.Person + summary: Get entities from NewComePeople + operationId: NewComePeople.Person.ListPerson + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + post: + tags: + - NewComePeople.Person + summary: Add new entity to NewComePeople + operationId: NewComePeople.Person.CreatePerson + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New entity + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '201': + description: Created entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}': + get: + tags: + - NewComePeople.Person + summary: Get entity from NewComePeople by key + operationId: NewComePeople.Person.GetPerson + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Person + summary: Update entity in NewComePeople + operationId: NewComePeople.Person.UpdatePerson + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete entity from NewComePeople + operationId: NewComePeople.Person.DeletePerson + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend': + get: + tags: + - NewComePeople.Person + summary: Get BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetRefBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - NewComePeople.Person + summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. + operationId: NewComePeople.UpdateRefBestFriend + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref values + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. + operationId: NewComePeople.DeleteRefBestFriend + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends': + get: + tags: + - NewComePeople.Person + summary: Get Friends from NewComePeople + operationId: NewComePeople.ListFriends + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property Friends for NewComePeople + operationId: NewComePeople.DeleteRefFriends + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of Friends from NewComePeople + operationId: NewComePeople.ListRefFriends + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Person + summary: Create new navigation property ref to Friends for NewComePeople + operationId: NewComePeople.CreateRefFriends + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Trips': + get: + tags: + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Trip + summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.CreateTrips + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '201': + description: Created navigation property. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}': + get: + tags: + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.GetTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Trip + summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. + operationId: NewComePeople.UpdateTrips + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Trip + summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.DeleteTrips + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetInvolvedPeople + operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': + get: + tags: + - NewComePeople.Trips.PlanItem + summary: Get PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListPlanItems + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - NewComePeople.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for NewComePeople + operationId: NewComePeople.Trips.DeleteRefPlanItems + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - NewComePeople.Trips.PlanItem + summary: Get ref of PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListRefPlanItems + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for NewComePeople + operationId: NewComePeople.Trips.CreateRefPlanItems + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true type: integer format: int32 maximum: 2147483647 minimum: -2147483648 x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /NewComePeople/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.NewComePeople + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /People: + get: + tags: + - People.Person + summary: Get entities from People + operationId: People.Person.ListPerson + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + post: + tags: + - People.Person + summary: Add new entity to People + operationId: People.Person.CreatePerson + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New entity + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '201': + description: Created entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}': + get: + tags: + - People.Person + summary: Get entity from People by key + operationId: People.Person.GetPerson + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - People.Person + summary: Update entity in People + operationId: People.Person.UpdatePerson + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - People.Person + summary: Delete entity from People + operationId: People.Person.DeletePerson + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend': + get: + tags: + - People.Person + summary: Get BestFriend from People + description: The best friend. + operationId: People.GetBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/$ref': + get: + tags: + - People.Person + summary: Get ref of BestFriend from People + description: The best friend. + operationId: People.GetRefBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - People.Person + summary: Update the ref of navigation property BestFriend in People + description: The best friend. + operationId: People.UpdateRefBestFriend + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref values + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - People.Person + summary: Delete ref of navigation property BestFriend for People + description: The best friend. + operationId: People.DeleteRefBestFriend + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends': + get: + tags: + - People.Person + summary: Get Friends from People + operationId: People.ListFriends + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -1216,16 +7374,28 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - in: query name: $select @@ -1233,11 +7403,20 @@ paths: type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -1246,46 +7425,43 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of PlanItem + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + '/People/{UserName}/Friends/{UserName1}/$ref': delete: tags: - - Me.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for Me - operationId: Me.Trips.DeleteRefPlanItems + - People.Person + summary: Delete ref of navigation property Friends for People + operationId: People.DeleteRefFriends parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem + type: string + x-ms-docs-key-type: Person - in: header name: If-Match description: ETag @@ -1300,174 +7476,342 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/$count': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - - text/plain + - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: The count of the resource + description: Result entities schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/Me/Trips/{TripId}/PlanItems/$ref': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - Me.Trips.PlanItem - summary: Get ref of PlanItems from Me - operationId: Me.Trips.ListRefPlanItems + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: Retrieved navigation property links + description: Success schema: - title: Collection of links of PlanItem + title: Collection of Employee type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - Me.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for Me - operationId: Me.Trips.CreateRefPlanItems + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json - produces: - - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref value + description: Action parameters required: true schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Trips/$count: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - - text/plain + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - /NewComePeople: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Person - summary: Get entities from NewComePeople - operationId: NewComePeople.Person.ListPerson + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -1502,9 +7846,144 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -1513,36 +7992,77 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - NewComePeople.Person - summary: Add new entity to NewComePeople - operationId: NewComePeople.Person.CreatePerson + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json - produces: - - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New entity + description: Action parameters required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + '204': + description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - - NewComePeople.Person - summary: Get entity from NewComePeople by key - operationId: NewComePeople.Person.GetPerson + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -1552,77 +8072,46 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - NewComePeople.Person - summary: Update entity in NewComePeople - operationId: NewComePeople.Person.UpdatePerson - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: New property values + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string responses: - '204': + '200': description: Success + schema: + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Person - summary: Delete entity from NewComePeople - operationId: NewComePeople.Person.DeletePerson + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + produces: + - text/plain parameters: - in: path name: UserName @@ -1630,23 +8119,19 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string responses: - '204': - description: Success + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend': + '/People/{UserName}/Friends/$ref': get: tags: - - NewComePeople.Person - summary: Get BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetBestFriend + - People.Person + summary: Get ref of Friends from People + operationId: People.ListRefFriends produces: - application/json parameters: @@ -1656,78 +8141,63 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Retrieved navigation property - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/$ref': - get: - tags: - - NewComePeople.Person - summary: Get ref of BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetRefBestFriend - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Retrieved navigation property link + description: Retrieved navigation property links schema: - type: string + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - put: + post: tags: - - NewComePeople.Person - summary: Update the ref of navigation property BestFriend in NewComePeople - description: The best friend. - operationId: NewComePeople.UpdateRefBestFriend + - People.Person + summary: Create new navigation property ref to Friends for People + operationId: People.CreateRefFriends consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -1737,47 +8207,26 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref values + description: New navigation property ref value required: true schema: type: object additionalProperties: type: object responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Person - summary: Delete ref of navigation property BestFriend for NewComePeople - description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Person - summary: Get Friends from NewComePeople - operationId: NewComePeople.ListFriends + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -1787,40 +8236,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - in: query name: $select description: Select properties to be returned @@ -1855,24 +8270,100 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of Person + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': - delete: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Person - summary: Delete ref of navigation property Friends for NewComePeople - operationId: NewComePeople.DeleteRefFriends + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -1880,32 +8371,100 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Friends + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -1913,19 +8472,40 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/$ref': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Person - summary: Get ref of Friends from NewComePeople - operationId: NewComePeople.ListRefFriends + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -1935,92 +8515,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - UserName - - UserName desc - FirstName - - FirstName desc - LastName - - LastName desc - MiddleName - - MiddleName desc - Gender - - Gender desc - Age - - Age desc - Emails - - Emails desc - AddressInfo - - AddressInfo desc - HomeAddress - - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.Person - summary: Create new navigation property ref to Friends for NewComePeople - operationId: NewComePeople.CreateRefFriends - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '201': - description: Created navigation property link. + '200': + description: Result entities schema: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: @@ -2038,12 +8577,23 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -2062,7 +8612,7 @@ paths: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -2072,12 +8622,23 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - NewComePeople.Actions + - People.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -2107,7 +8668,7 @@ paths: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -2117,13 +8678,24 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - NewComePeople.Actions + - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: @@ -2153,12 +8725,23 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -2185,13 +8768,23 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -2201,49 +8794,26 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -2252,185 +8822,57 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property - schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.Trip - summary: Create new navigation property to Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.CreateTrips - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '201': - description: Created navigation property. + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.GetTrips + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems - type: string - responses: - '200': - description: Retrieved navigation property - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - NewComePeople.Trip - summary: Update the navigation property Trips in NewComePeople - description: Collection of trips. - operationId: NewComePeople.UpdateTrips - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Trip - summary: Delete navigation property Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.DeleteTrips - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: header - name: If-Match - description: ETag + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true type: string + x-ms-docs-key-type: Person responses: - '204': + '200': description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - NewComePeople.Functions - summary: Invoke function GetInvolvedPeople - operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -2441,34 +8883,43 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: userName + description: 'Usage: userName=''{userName}''' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string responses: '200': description: Success schema: - title: Collection of Trip + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': - get: + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Trips.PlanItem - summary: Get PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListPlanItems + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json produces: - application/json parameters: @@ -2478,77 +8929,54 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: Retrieved navigation property + description: Success schema: - title: Collection of PlanItem + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for NewComePeople - operationId: NewComePeople.Trips.DeleteRefPlanItems + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json parameters: - in: path name: UserName @@ -2556,44 +8984,88 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag type: string - - in: query - name: '@id' - description: Delete Uri + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true type: string responses: - '204': + '200': description: Success + schema: + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.GetFavoriteAirline produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -2601,28 +9073,31 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get ref of PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListRefPlanItems + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.GetFriendsTrips produces: - application/json parameters: @@ -2633,55 +9108,41 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: userName + description: 'Usage: userName=''{userName}''' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + type: string responses: '200': - description: Retrieved navigation property links + description: Success schema: - title: Collection of links of PlanItem + title: Collection of Person type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - NewComePeople.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for NewComePeople - operationId: NewComePeople.Trips.CreateRefPlanItems + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.GetPeersForTrip consumes: - application/json produces: @@ -2693,37 +9154,53 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property ref value + description: Action parameters required: true schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created navigation property link. + '200': + description: Success schema: + title: Collection of Person type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -2731,69 +9208,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /NewComePeople/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.NewComePeople - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /People: - get: - tags: - - People.Person - summary: Get entities from People - operationId: People.Person.ListPerson - produces: - - application/json - parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - in: query name: $select description: Select properties to be returned @@ -2828,47 +9242,51 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Result entities schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - post: + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - People.Person - summary: Add new entity to People - operationId: People.Person.CreatePerson - consumes: - - application/json + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: - - in: body - name: body - description: New entity + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string + x-ms-docs-key-type: Person responses: - '201': - description: Created entity + '200': + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - People.Person - summary: Get entity from People by key - operationId: People.Person.GetPerson + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -2878,53 +9296,46 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string responses: '200': - description: Retrieved entity + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - People.Person - summary: Update entity in People - operationId: People.Person.UpdatePerson + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -2934,21 +9345,52 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New property values + description: Action parameters required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '204': + '200': description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: tags: - - People.Person - summary: Delete entity from People - operationId: People.Person.DeletePerson + - People.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json parameters: - in: path name: UserName @@ -2956,24 +9398,29 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend': - get: + x-ms-docs-operation-type: action + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Get BestFriend from People - description: The best friend. - operationId: People.GetBestFriend - produces: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: - application/json parameters: - in: path @@ -2982,53 +9429,43 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property + - in: body + name: body + description: Action parameters + required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/$ref': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - - People.Person - summary: Get ref of BestFriend from People - description: The best friend. - operationId: People.GetRefBestFriend + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -3038,20 +9475,41 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string responses: '200': - description: Retrieved navigation property link + description: Success schema: - type: string + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - put: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Update the ref of navigation property BestFriend in People - description: The best friend. - operationId: People.UpdateRefBestFriend + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.ShareTrip consumes: - application/json parameters: @@ -3063,24 +9521,43 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref values + description: Action parameters required: true schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: tags: - - People.Person - summary: Delete ref of navigation property BestFriend for People - description: The best friend. - operationId: People.DeleteRefBestFriend + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.UpdatePersonLastName + produces: + - application/json parameters: - in: path name: UserName @@ -3088,22 +9565,41 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true type: string responses: - '204': + '200': description: Success + schema: + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Trips': get: tags: - - People.Person - summary: Get Friends from People - operationId: People.ListFriends + - People.Trip + summary: Get Trips from People + description: Collection of trips. + operationId: People.ListTrips produces: - application/json parameters: @@ -3124,28 +9620,22 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc type: string - in: query name: $select @@ -3153,85 +9643,49 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - in: query name: $expand description: Expand related entities type: array items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/$ref': - delete: - tags: - - People.Person - summary: Delete ref of navigation property Friends for People - operationId: People.DeleteRefFriends - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + enum: + - '*' + - PlanItems + type: string responses: - '204': - description: Success + '200': + description: Retrieved navigation property + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Friends + post: + tags: + - People.Trip + summary: Create new navigation property to Trips for People + description: Collection of trips. + operationId: People.CreateTrips + consumes: + - application/json produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -3239,19 +9693,27 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '200': - description: The count of the resource + '201': + description: Created navigation property. schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - '/People/{UserName}/Friends/$ref': + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}': get: tags: - - People.Person - summary: Get ref of Friends from People - operationId: People.ListRefFriends + - People.Trip + summary: Get Trips from People + description: Collection of trips. + operationId: People.GetTrips produces: - application/json parameters: @@ -3261,63 +9723,56 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + patch: tags: - - People.Person - summary: Create new navigation property ref to Friends for People - operationId: People.CreateRefFriends + - People.Trip + summary: Update the navigation property Trips in People + description: Collection of trips. + operationId: People.UpdateTrips consumes: - application/json - produces: - - application/json parameters: - in: path name: UserName @@ -3325,28 +9780,65 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property ref value + description: New navigation property values required: true schema: - type: object - additionalProperties: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + delete: + tags: + - People.Trip + summary: Delete navigation property Trips for People + description: Collection of trips. + operationId: People.DeleteTrips + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.GetFavoriteAirline + summary: Invoke function GetInvolvedPeople + operationId: People.Person.Trips.Trip.GetInvolvedPeople produces: - application/json parameters: @@ -3356,20 +9848,35 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Trips/{TripId}/PlanItems': get: tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.GetFriendsTrips + - People.Trips.PlanItem + summary: Get PlanItems from People + operationId: People.Trips.ListPlanItems produces: - application/json parameters: @@ -3380,34 +9887,76 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: userName - description: 'Usage: userName=''{userName}''' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Person + title: Collection of PlanItem type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.GetPeersForTrip - consumes: - - application/json - produces: - - application/json + - People.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for People + operationId: People.Trips.DeleteRefPlanItems parameters: - in: path name: UserName @@ -3415,78 +9964,44 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: TripId + description: 'key: TripId of Trip' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.ShareTrip - consumes: - - application/json - parameters: + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: path - name: UserName - description: 'key: UserName of Person' + name: PlanItemId + description: 'key: PlanItemId of PlanItem' required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}/PlanItems/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.PlanItems produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -3495,29 +10010,27 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - '/People/{UserName}/Trips': + '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': get: tags: - - People.Trip - summary: Get Trips from People - description: Collection of trips. - operationId: People.ListTrips + - People.Trips.PlanItem + summary: Get ref of PlanItems from People + operationId: People.Trips.ListRefPlanItems produces: - application/json parameters: @@ -3527,6 +10040,15 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -3538,68 +10060,36 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc - StartsAt - StartsAt desc - EndsAt - EndsAt desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems + - Duration + - Duration desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links schema: - title: Collection of Trip + title: Collection of links of PlanItem type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation post: tags: - - People.Trip - summary: Create new navigation property to Trips for People - description: Collection of trips. - operationId: People.CreateTrips + - People.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for People + operationId: People.Trips.CreateRefPlanItems consumes: - application/json produces: @@ -3611,60 +10101,93 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property + description: New navigation property ref value required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /People/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.People + produces: + - text/plain responses: - '201': - description: Created navigation property. + '200': + description: The count of the resource schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}': + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - People.Trip - summary: Get Trips from People - description: Collection of trips. - operationId: People.GetTrips + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -3673,179 +10196,240 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: tags: - - People.Trip - summary: Update the navigation property Trips in People - description: Collection of trips. - operationId: People.UpdateTrips - consumes: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: - application/json parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: userName + description: 'Usage: userName=''{userName}''' required: true type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: - in: body name: body - description: New navigation property values + description: Action parameters required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '204': + '200': description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: tags: - - People.Trip - summary: Delete navigation property Trips for People - description: Collection of trips. - operationId: People.DeleteTrips + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: header - name: If-Match - description: ETag - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - People.Functions - summary: Invoke function GetInvolvedPeople - operationId: People.Person.Trips.Trip.GetInvolvedPeople + summary: Invoke function UpdatePersonLastName + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: lastName + description: 'Usage: lastName=''{lastName}''' required: true type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip responses: '200': description: Success schema: - title: Collection of Trip type: object properties: value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: false + type: boolean default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/People/{UserName}/Trips/{TripId}/PlanItems': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - People.Trips.PlanItem - summary: Get PlanItems from People - operationId: People.Trips.ListPlanItems + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -3854,229 +10438,211 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of PlanItem - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: tags: - - People.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for People - operationId: People.Trips.DeleteRefPlanItems - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json responses: - '204': + '200': description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - - text/plain + - application/json parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: userName + description: 'Usage: userName=''{userName}''' required: true type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: tags: - - People.Trips.PlanItem - summary: Get ref of PlanItems from People - operationId: People.Trips.ListRefPlanItems + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: Retrieved navigation property links + description: Success schema: - title: Collection of links of PlanItem + title: Collection of Manager type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - - People.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for People - operationId: People.Trips.CreateRefPlanItems + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json - produces: - - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property ref value + description: Action parameters required: true schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - - text/plain + - application/json parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: lastName + description: 'Usage: lastName=''{lastName}''' required: true type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /People/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.People - produces: - - text/plain responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' /ResetDataSource: post: tags: @@ -4530,10 +11096,12 @@ tags: x-ms-docs-toc-type: container - name: Me.Person x-ms-docs-toc-type: page + - name: Person.Employee - name: Me.Functions x-ms-docs-toc-type: container - name: Me.Actions x-ms-docs-toc-type: container + - name: Person.Manager - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem 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 1652d7d4..764e8063 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -1008,67 +1008,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Person" + "Person.Employee" ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, { "name": "$select", "in": "query", @@ -1122,20 +1069,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -1143,67 +1081,28 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Friends/{UserName}/$ref": { - "delete": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Person" - ], - "summary": "Delete ref of navigation property Friends for Me", - "operationId": "Me.DeleteRefFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } + "Me.Functions" ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -1211,84 +1110,56 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Friends/$ref": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "Me.Person" + "Me.Functions" ], - "summary": "Get ref of Friends from Me", - "operationId": "Me.ListRefFriends", + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -1300,22 +1171,42 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Person" + "Me.Actions" ], - "summary": "Create new navigation property ref to Friends for Me", - "operationId": "Me.CreateRefFriends", + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -1323,12 +1214,26 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "type": "object" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -1337,16 +1242,205 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -1368,15 +1462,25 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "userName", @@ -1394,7 +1498,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1418,15 +1522,25 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "requestBody": { "description": "Action parameters", "content": { @@ -1455,7 +1569,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1479,16 +1593,26 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "requestBody": { "description": "Action parameters", "content": { @@ -1520,15 +1644,25 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "lastName", @@ -1562,16 +1696,25 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/Me/Trips": { + "/Me/Friends": { "get": { "tags": [ - "Me.Trip" + "Me.Person" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "parameters": [ { "$ref": "#/components/parameters/top" @@ -1599,22 +1742,28 @@ "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -1631,15 +1780,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1657,7 +1811,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1670,13 +1826,13 @@ "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -1689,35 +1845,46 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/Me/Friends/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Trip" + "Me.Person" ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", - "requestBody": { - "description": "New navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "summary": "Delete ref of navigation property Friends for Me", + "operationId": "Me.DeleteRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -1726,27 +1893,23 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Trips/{TripId}": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Trip" + "Person.Employee" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -1759,15 +1922,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1785,7 +1953,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -1794,11 +1964,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -1806,122 +1976,179 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Trip" + "Me.Functions" ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "New navigation property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "Me.Trip" + "Me.Functions" ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { - "get": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "Me.Functions" + "Me.Actions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -1944,70 +2171,8947 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Trips/{TripId}/PlanItems": { - "get": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "Me.Actions" ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Friends from Me", + "operationId": "Me.ListRefFriends", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Friends for Me", + "operationId": "Me.CreateRefFriends", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/Me/Trips": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trip" + ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "Me.Trip" + ], + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "Me.Trip" + ], + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/Me/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved entities", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", + "requestBody": { + "description": "New entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref values", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/NewComePeople/{UserName}/Trips": { + "get": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}": { + "get": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved entities", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", + "requestBody": { + "description": "New entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "People.Person" + ], + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref values", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ { - "$ref": "#/components/parameters/top" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/skip" + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ { - "$ref": "#/components/parameters/search" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ { - "$ref": "#/components/parameters/filter" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/count" + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -2020,11 +11124,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -2041,7 +11154,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -2050,20 +11166,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -2071,98 +11178,40 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Trips.PlanItem" + "People.Functions" ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", + "name": "UserName", "in": "path", - "description": "key: PlanItemId of PlanItem", + "description": "key: UserName of Person", "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", "schema": { "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -2170,85 +11219,153 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Trips/{TripId}/PlanItems/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "Me.Trips.PlanItem" + "People.Functions" ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } } } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -2260,37 +11377,57 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -2298,34 +11435,69 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/Me/Trips/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -2333,17 +11505,40 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople": { + "/People/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -2450,7 +11645,7 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { @@ -2471,35 +11666,58 @@ "default": { "$ref": "#/components/responses/error" } - } - }, - "post": { + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", - "requestBody": { - "description": "New entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Created entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -2508,16 +11726,26 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Employee" ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { - "name": "UserName", + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -2579,11 +11807,62 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -2592,14 +11871,110 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -2610,14 +11985,131 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "New property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, @@ -2631,17 +12123,41 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { - "name": "UserName", + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -2651,33 +12167,58 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/BestFriend": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Manager" ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -2689,6 +12230,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -2742,11 +12293,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -2754,18 +12305,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/BestFriend/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -2776,15 +12325,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Success", "content": { "application/json": { "schema": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -2793,15 +12357,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "put": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Functions" ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -2812,42 +12389,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref values", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -2857,32 +12401,66 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Friends": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "People.Actions" ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -2895,122 +12473,56 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -3022,16 +12534,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "People.Actions" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -3052,36 +12577,128 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" }, { - "name": "@id", - "in": "query", - "description": "Delete Uri", + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/Friends/$count": { + "/People/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", "operationId": "Get.Count.Friends", @@ -3114,13 +12731,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "parameters": [ { "name": "UserName", @@ -3214,10 +12831,10 @@ }, "post": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", "parameters": [ { "name": "UserName", @@ -3262,13 +12879,99 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -3302,15 +13005,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -3338,7 +13053,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -3362,15 +13077,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -3411,7 +13138,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -3435,16 +13162,28 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -3488,15 +13227,27 @@ } }, "x-ms-docs-operation-type": "action" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -3540,200 +13291,27 @@ } }, "x-ms-docs-operation-type": "function" - } - }, - "/NewComePeople/{UserName}/Trips": { - "get": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" }, - "post": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Trip" + "Person.Manager" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -3745,19 +13323,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, { "name": "$select", "in": "query", @@ -3769,15 +13334,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -3795,7 +13365,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -3804,11 +13376,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -3816,16 +13388,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "NewComePeople.Trip" + "People.Functions" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -3836,49 +13408,50 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" } ], - "requestBody": { - "description": "New navigation property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "NewComePeople.Trip" + "People.Functions" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -3891,45 +13464,66 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "userName", "in": "path", - "description": "key: TripId of Trip", + "description": "Usage: userName='{userName}'", "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { - "get": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Functions" + "People.Actions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -3940,28 +13534,37 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -3984,16 +13587,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { - "get": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -4004,61 +13620,135 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } } } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -4070,11 +13760,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -4091,7 +13790,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -4100,20 +13802,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -4121,17 +13814,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Functions" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -4142,65 +13834,50 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", - "in": "path", - "description": "key: PlanItemId of PlanItem", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -4213,26 +13890,36 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "userName", "in": "path", - "description": "key: TripId of Trip", + "description": "Usage: userName='{userName}'", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "type": "string" + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } } } } @@ -4240,95 +13927,81 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { - "get": { - "tags": [ - "NewComePeople.Trips.PlanItem" - ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -4340,14 +14013,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -4358,29 +14046,24 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -4388,27 +14071,35 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Trips/$count": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -4419,15 +14110,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -4435,20 +14141,53 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/NewComePeople/$count": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -4456,124 +14195,53 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "People.Person" - ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Success", "content": { "application/json": { "schema": { @@ -4583,7 +14251,12 @@ "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -4594,32 +14267,84 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Person" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", "requestBody": { - "description": "New entity", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, "required": true }, "responses": { - "201": { - "description": "Created entity", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -4628,16 +14353,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People/{UserName}": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Person" + "Person.Manager" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -4702,11 +14439,52 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -4715,14 +14493,100 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -4736,32 +14600,79 @@ } ], "requestBody": { - "description": "New property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, "required": true }, "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", "parameters": [ { "name": "UserName", @@ -4772,16 +14683,29 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -4790,17 +14714,17 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" } }, - "/People/{UserName}/BestFriend": { - "get": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -4811,84 +14735,60 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } } ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/BestFriend/$ref": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -4899,15 +14799,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Success", "content": { "application/json": { "schema": { - "type": "string" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -4916,15 +14831,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "put": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.ShareTrip", "parameters": [ { "name": "UserName", @@ -4938,13 +14867,21 @@ } ], "requestBody": { - "description": "New navigation property ref values", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -4959,15 +14896,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -4980,32 +14930,59 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/People/{UserName}/Friends": { + "/People/{UserName}/Trips": { "get": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get Trips from People", + "description": "Collection of trips.", + "operationId": "People.ListTrips", "parameters": [ { "name": "UserName", @@ -5042,29 +15019,23 @@ "uniqueItems": true, "type": "array", "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } @@ -5081,20 +15052,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -5112,9 +15078,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -5127,13 +15091,13 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -5146,15 +15110,14 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + }, + "post": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Create new navigation property to Trips for People", + "description": "Collection of trips.", + "operationId": "People.CreateTrips", "parameters": [ { "name": "UserName", @@ -5165,68 +15128,26 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], - "responses": { - "204": { - "description": "Success" + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } }, - "default": { - "$ref": "#/components/responses/error" - } + "required": true }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property.", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -5234,16 +15155,18 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/$ref": { + "/People/{UserName}/Trips/{TripId}": { "get": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", + "summary": "Get Trips from People", + "description": "Collection of trips.", + "operationId": "People.GetTrips", "parameters": [ { "name": "UserName", @@ -5256,24 +15179,47 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" }, { - "$ref": "#/components/parameters/count" + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } }, { - "name": "$orderby", + "name": "$expand", "in": "query", - "description": "Order items by property values", + "description": "Expand related entities", "style": "form", "explode": false, "schema": { @@ -5281,28 +15227,8 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "*", + "PlanItems" ], "type": "string" } @@ -5311,20 +15237,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -5335,12 +15252,13 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "patch": { "tags": [ - "People.Person" + "People.Trip" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Update the navigation property Trips in People", + "description": "Collection of trips.", + "operationId": "People.UpdateTrips", "parameters": [ { "name": "UserName", @@ -5351,47 +15269,49 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "New navigation property ref value", + "description": "New navigation property values", "content": { "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } }, "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "delete": { "tags": [ - "People.Functions" + "People.Trip" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.GetFavoriteAirline", + "summary": "Delete navigation property Trips for People", + "description": "Collection of trips.", + "operationId": "People.DeleteTrips", "parameters": [ { "name": "UserName", @@ -5402,38 +15322,47 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ "People.Functions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.GetFriendsTrips", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "People.Person.Trips.Trip.GetInvolvedPeople", "parameters": [ { "name": "UserName", @@ -5446,13 +15375,17 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", + "name": "TripId", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" - } + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { @@ -5461,7 +15394,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { @@ -5469,7 +15402,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } ], "nullable": true @@ -5487,13 +15420,13 @@ "x-ms-docs-operation-type": "function" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Trips/{TripId}/PlanItems": { + "get": { "tags": [ - "People.Actions" + "People.Trips.PlanItem" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.GetPeersForTrip", + "summary": "Get PlanItems from People", + "operationId": "People.Trips.ListPlanItems", "parameters": [ { "name": "UserName", @@ -5504,48 +15437,113 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -5557,17 +15555,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "People.Actions" + "People.Trips.PlanItem" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.ShareTrip", + "summary": "Delete ref of navigation property PlanItems for People", + "operationId": "People.Trips.DeleteRefPlanItems", "parameters": [ { "name": "UserName", @@ -5575,33 +15572,53 @@ "description": "key: UserName of Person", "required": true, "schema": { - "type": "string" + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { "description": "Success" @@ -5610,16 +15627,13 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "parameters": [ { "name": "UserName", @@ -5632,28 +15646,26 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", + "name": "TripId", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" - } + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -5661,18 +15673,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" + } } }, - "/People/{UserName}/Trips": { + "/People/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "People.Trip" + "People.Trips.PlanItem" ], - "summary": "Get Trips from People", - "description": "Collection of trips.", - "operationId": "People.ListTrips", + "summary": "Get ref of PlanItems from People", + "operationId": "People.Trips.ListRefPlanItems", "parameters": [ { "name": "UserName", @@ -5684,6 +15694,19 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, { "$ref": "#/components/parameters/top" }, @@ -5710,65 +15733,16 @@ "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", "StartsAt", "StartsAt desc", "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -5777,17 +15751,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -5803,11 +15777,10 @@ }, "post": { "tags": [ - "People.Trip" + "People.Trips.PlanItem" ], - "summary": "Create new navigation property to Trips for People", - "description": "Collection of trips.", - "operationId": "People.CreateTrips", + "summary": "Create new navigation property ref to PlanItems for People", + "operationId": "People.Trips.CreateRefPlanItems", "parameters": [ { "name": "UserName", @@ -5818,26 +15791,97 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "New navigation property", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, "required": true }, "responses": { - "201": { - "description": "Created navigation property.", + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.People", + "responses": { + "200": { + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -5845,42 +15889,17 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/Trips/{TripId}": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.Trip" + "Person.Employee" ], - "summary": "Get Trips from People", - "description": "Collection of trips.", - "operationId": "People.GetTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, { "name": "$select", "in": "query", @@ -5892,15 +15911,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5918,7 +15942,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5927,11 +15953,40 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -5940,101 +15995,186 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { "tags": [ - "People.Trip" + "People.Functions" ], - "summary": "Update the navigation property Trips in People", - "description": "Collection of trips.", - "operationId": "People.UpdateTrips", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { - "name": "UserName", + "name": "userName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "default": { + "$ref": "#/components/responses/error" } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "requestBody": { - "description": "New navigation property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, "required": true }, "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Trip" + "People.Actions" ], - "summary": "Delete navigation property Trips for People", - "description": "Collection of trips.", - "operationId": "People.DeleteTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } } - } - ], + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -6043,39 +16183,37 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "People.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "People.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { - "name": "UserName", + "name": "lastName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: lastName='{lastName}'", "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + } } ], "responses": { @@ -6084,19 +16222,11 @@ "content": { "application/json": { "schema": { - "title": "Collection of Trip", "type": "object", "properties": { "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } + "type": "boolean", + "default": false } } } @@ -6108,80 +16238,28 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, - "/People/{UserName}/Trips/{TripId}/PlanItems": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Trips.PlanItem" + "Person.Manager" ], - "summary": "Get PlanItems from People", - "operationId": "People.Trips.ListPlanItems", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - }, { "name": "$select", "in": "query", @@ -6193,11 +16271,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -6214,7 +16301,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -6223,20 +16313,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -6244,118 +16325,28 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { - "tags": [ - "People.Trips.PlanItem" - ], - "summary": "Delete ref of navigation property PlanItems for People", - "operationId": "People.Trips.DeleteRefPlanItems", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", - "in": "path", - "description": "key: PlanItemId of PlanItem", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } + "tags": [ + "People.Functions" ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -6363,95 +16354,58 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "People.Trips.PlanItem" + "People.Functions" ], - "summary": "Get ref of PlanItems from People", - "operationId": "People.Trips.ListRefPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { - "name": "UserName", + "name": "userName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -6463,47 +16417,44 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + ] + }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Trips.PlanItem" - ], - "summary": "Create new navigation property ref to PlanItems for People", - "operationId": "People.Trips.CreateRefPlanItems", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } + "People.Actions" ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -6511,12 +16462,26 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "type": "object" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -6525,53 +16490,105 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People/{UserName}/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/$count": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -6579,8 +16596,21 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + ] }, "/ResetDataSource": { "post": { @@ -7600,6 +17630,9 @@ "name": "Me.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "Person.Employee" + }, { "name": "Me.Functions", "x-ms-docs-toc-type": "container" @@ -7608,6 +17641,9 @@ "name": "Me.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "Person.Manager" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" 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 cf22387a..c0cd3956 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -667,51 +667,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - /Me/Friends: + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - name: $select in: query description: Select properties to be returned @@ -754,154 +716,19 @@ paths: type: string responses: '200': - description: Retrieved navigation property - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': - delete: - tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Friends/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Friends - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /Me/Friends/$ref: - get: - tags: - - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. + description: Result entities content: application/json: schema: - type: object + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline responses: '200': description: Success @@ -914,12 +741,21 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: userName in: path @@ -933,7 +769,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Employee type: object properties: value: @@ -945,12 +781,21 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip requestBody: description: Action parameters content: @@ -972,7 +817,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Employee type: object properties: value: @@ -984,13 +829,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.ShareTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip requestBody: description: Action parameters content: @@ -1012,12 +866,21 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: lastName in: path @@ -1039,46 +902,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - /Me/Trips: + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - name: $select in: query description: Select properties to be returned @@ -1089,15 +928,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -1110,218 +954,214 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: tags: - - Me.Trip - summary: Create new navigation property to Trips for Me - description: Collection of trips. - operationId: Me.CreateTrips - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - required: true + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline responses: - '201': - description: Created navigation property. + '200': + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.GetTrips + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - - name: TripId + - name: userName in: path - description: 'key: TripId of Trip' + description: 'Usage: userName=''{userName}''' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - PlanItems - type: string + type: string responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: tags: - - Me.Trip - summary: Update the navigation property Trips in Me - description: Collection of trips. - operationId: Me.UpdateTrips - parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: tags: - - Me.Trip - summary: Delete navigation property Trips for Me - description: Collection of trips. - operationId: Me.DeleteTrips - parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: If-Match - in: header - description: ETag - schema: - type: string + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - Me.Functions - summary: Invoke function GetInvolvedPeople - operationId: Me.Trips.Trip.GetInvolvedPeople + summary: Invoke function UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - - name: TripId + - name: lastName in: path - description: 'key: TripId of Trip' + description: 'Usage: lastName=''{lastName}''' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string responses: '200': description: Success content: application/json: schema: - title: Collection of Trip type: object properties: value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + type: boolean + default: false default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - '/Me/Trips/{TripId}/PlanItems': + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends: get: tags: - - Me.Trips.PlanItem - summary: Get PlanItems from Me - operationId: Me.Trips.ListPlanItems + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -1337,16 +1177,28 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - name: $select in: query @@ -1358,11 +1210,20 @@ paths: type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -1375,6 +1236,9 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': @@ -1382,43 +1246,30 @@ paths: content: application/json: schema: - title: Collection of PlanItem + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + '/Me/Friends/{UserName}/$ref': delete: tags: - - Me.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for Me - operationId: Me.Trips.DeleteRefPlanItems + - Me.Person + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: PlanItemId + - name: UserName in: path - description: 'key: PlanItemId of PlanItem' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: PlanItem + type: string + x-ms-docs-key-type: Person - name: If-Match in: header description: ETag @@ -1435,182 +1286,20 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems - parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/Me/Trips/{TripId}/PlanItems/$ref': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Me.Trips.PlanItem - summary: Get ref of PlanItems from Me - operationId: Me.Trips.ListRefPlanItems - parameters: - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of PlanItem - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for Me - operationId: Me.Trips.CreateRefPlanItems + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Trips/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Trips - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /NewComePeople: - get: - tags: - - NewComePeople.Person - summary: Get entities from NewComePeople - operationId: NewComePeople.Person.ListPerson - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -1653,47 +1342,54 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Result entities content: application/json: schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - post: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - NewComePeople.Person - summary: Add new entity to NewComePeople - operationId: NewComePeople.Person.CreatePerson - requestBody: - description: New entity - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - required: true - responses: - '201': - description: Created entity - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - NewComePeople.Person - summary: Get entity from NewComePeople by key - operationId: NewComePeople.Person.GetPerson + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -1702,61 +1398,102 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved entity + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Person - summary: Update entity in NewComePeople - operationId: NewComePeople.Person.UpdatePerson + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -1766,23 +1503,41 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: New property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: tags: - - NewComePeople.Person - summary: Delete entity from NewComePeople - operationId: NewComePeople.Person.DeletePerson + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -1791,24 +1546,41 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Person - summary: Get BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetBestFriend + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -1859,21 +1631,19 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/$ref': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - NewComePeople.Person - summary: Get ref of BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetRefBestFriend + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -1884,20 +1654,31 @@ paths: x-ms-docs-key-type: Person responses: '200': - description: Retrieved navigation property link + description: Success content: application/json: schema: - type: string + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - put: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: tags: - - NewComePeople.Person - summary: Update the ref of navigation property BestFriend in NewComePeople - description: The best friend. - operationId: NewComePeople.UpdateRefBestFriend + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -1906,27 +1687,45 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref values - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Person - summary: Delete ref of navigation property BestFriend for NewComePeople - description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -1935,131 +1734,55 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends': - get: - tags: - - NewComePeople.Person - summary: Get Friends from NewComePeople - operationId: NewComePeople.ListFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Person - summary: Delete ref of navigation property Friends for NewComePeople - operationId: NewComePeople.DeleteRefFriends + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -2068,41 +1791,83 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends/$count: get: summary: Get the number of the resource operationId: Get.Count.Friends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -2112,20 +1877,13 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/$ref': + /Me/Friends/$ref: get: tags: - - NewComePeople.Person - summary: Get ref of Friends from NewComePeople - operationId: NewComePeople.ListRefFriends + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -2182,17 +1940,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Person - summary: Create new navigation property ref to Friends for NewComePeople - operationId: NewComePeople.CreateRefFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends requestBody: description: New navigation property ref value content: @@ -2212,47 +1962,97 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person - - name: userName + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: userName in: path description: 'Usage: userName=''{userName}''' required: true @@ -2264,7 +2064,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Employee type: object properties: value: @@ -2276,20 +2076,21 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - - NewComePeople.Actions + - Me.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip requestBody: description: Action parameters content: @@ -2311,7 +2112,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Employee type: object properties: value: @@ -2323,21 +2124,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - - NewComePeople.Actions + - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip requestBody: description: Action parameters content: @@ -2359,20 +2161,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - - NewComePeople.Functions + - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName=''{lastName}''' @@ -2393,53 +2197,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips': + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - name: $select in: query description: Select properties to be returned @@ -2450,15 +2223,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -2471,80 +2249,214 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - title: Collection of Trip + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - - NewComePeople.Trip - summary: Create new navigation property to Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.CreateTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip requestBody: - description: New navigation property + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '201': - description: Created navigation property. + '200': + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}': - get: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.GetTrips + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - - name: UserName + - name: lastName in: path - description: 'key: UserName of Person' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: - name: $select in: query description: Select properties to be returned @@ -2555,15 +2467,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -2576,138 +2493,6369 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: tags: - - NewComePeople.Trip - summary: Update the navigation property Trips in NewComePeople - description: Collection of trips. - operationId: NewComePeople.UpdateTrips + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - - name: UserName + - name: userName in: path - description: 'key: UserName of Person' + description: 'Usage: userName=''{userName}''' required: true schema: type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: tags: - - NewComePeople.Trip - summary: Delete navigation property Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.DeleteTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: If-Match - in: header - description: ETag - schema: - type: string + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - - NewComePeople.Functions - summary: Invoke function GetInvolvedPeople - operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - - name: UserName + - name: lastName in: path - description: 'key: UserName of Person' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip responses: '200': description: Success content: application/json: schema: - title: Collection of Trip type: object properties: value: - type: array - items: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: + post: + tags: + - Me.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.UpdatePersonLastName + parameters: + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /Me/Trips: + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trip + summary: Create new navigation property to Trips for Me + description: Collection of trips. + operationId: Me.CreateTrips + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}': + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.GetTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - Me.Trip + summary: Update the navigation property Trips in Me + description: Collection of trips. + operationId: Me.UpdateTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - Me.Trip + summary: Delete navigation property Trips for Me + description: Collection of trips. + operationId: Me.DeleteTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - Me.Functions + summary: Invoke function GetInvolvedPeople + operationId: Me.Trips.Trip.GetInvolvedPeople + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/Me/Trips/{TripId}/PlanItems': + get: + tags: + - Me.Trips.PlanItem + summary: Get PlanItems from Me + operationId: Me.Trips.ListPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - Me.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for Me + operationId: Me.Trips.DeleteRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: PlanItemId + in: path + description: 'key: PlanItemId of PlanItem' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: PlanItem + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/Me/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - Me.Trips.PlanItem + summary: Get ref of PlanItems from Me + operationId: Me.Trips.ListRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for Me + operationId: Me.Trips.CreateRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Trips/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /NewComePeople: + get: + tags: + - NewComePeople.Person + summary: Get entities from NewComePeople + operationId: NewComePeople.Person.ListPerson + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + post: + tags: + - NewComePeople.Person + summary: Add new entity to NewComePeople + operationId: NewComePeople.Person.CreatePerson + requestBody: + description: New entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '201': + description: Created entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}': + get: + tags: + - NewComePeople.Person + summary: Get entity from NewComePeople by key + operationId: NewComePeople.Person.GetPerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Person + summary: Update entity in NewComePeople + operationId: NewComePeople.Person.UpdatePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete entity from NewComePeople + operationId: NewComePeople.Person.DeletePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend': + get: + tags: + - NewComePeople.Person + summary: Get BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + content: + application/json: + schema: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - NewComePeople.Person + summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. + operationId: NewComePeople.UpdateRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref values + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. + operationId: NewComePeople.DeleteRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends': + get: + tags: + - NewComePeople.Person + summary: Get Friends from NewComePeople + operationId: NewComePeople.ListFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property Friends for NewComePeople + operationId: NewComePeople.DeleteRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of Friends from NewComePeople + operationId: NewComePeople.ListRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Person + summary: Create new navigation property ref to Friends for NewComePeople + operationId: NewComePeople.CreateRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/NewComePeople/{UserName}/Trips': + get: + tags: + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Trip + summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.CreateTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}': + get: + tags: + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.GetTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Trip + summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. + operationId: NewComePeople.UpdateTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Trip + summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.DeleteTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetInvolvedPeople + operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': + get: + tags: + - NewComePeople.Trips.PlanItem + summary: Get PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - NewComePeople.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for NewComePeople + operationId: NewComePeople.Trips.DeleteRefPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: PlanItemId + in: path + description: 'key: PlanItemId of PlanItem' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: PlanItem + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - NewComePeople.Trips.PlanItem + summary: Get ref of PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListRefPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for NewComePeople + operationId: NewComePeople.Trips.CreateRefPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /NewComePeople/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.NewComePeople + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /People: + get: + tags: + - People.Person + summary: Get entities from People + operationId: People.Person.ListPerson + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + post: + tags: + - People.Person + summary: Add new entity to People + operationId: People.Person.CreatePerson + requestBody: + description: New entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '201': + description: Created entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}': + get: + tags: + - People.Person + summary: Get entity from People by key + operationId: People.Person.GetPerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - People.Person + summary: Update entity in People + operationId: People.Person.UpdatePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - People.Person + summary: Delete entity from People + operationId: People.Person.DeletePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend': + get: + tags: + - People.Person + summary: Get BestFriend from People + description: The best friend. + operationId: People.GetBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/$ref': + get: + tags: + - People.Person + summary: Get ref of BestFriend from People + description: The best friend. + operationId: People.GetRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + content: + application/json: + schema: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - People.Person + summary: Update the ref of navigation property BestFriend in People + description: The best friend. + operationId: People.UpdateRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref values + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - People.Person + summary: Delete ref of navigation property BestFriend for People + description: The best friend. + operationId: People.DeleteRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends': + get: + tags: + - People.Person + summary: Get Friends from People + operationId: People.ListFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Friends for People + operationId: People.DeleteRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': - get: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/$ref': + get: + tags: + - People.Person + summary: Get ref of Friends from People + operationId: People.ListRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: tags: - - NewComePeople.Trips.PlanItem - summary: Get PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListPlanItems + - People.Person + summary: Create new navigation property ref to Friends for People + operationId: People.CreateRefFriends parameters: - name: UserName in: path @@ -2716,42 +8864,39 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -2762,11 +8907,20 @@ paths: type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -2779,29 +8933,25 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - title: Collection of PlanItem - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - NewComePeople.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for NewComePeople - operationId: NewComePeople.Trips.DeleteRefPlanItems + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -2810,46 +8960,35 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: PlanItemId - in: path - description: 'key: PlanItemId of PlanItem' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: PlanItem - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -2858,31 +8997,47 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId + - name: userName in: path - description: 'key: TripId of Trip' + description: 'Usage: userName=''{userName}''' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string responses: '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Trips.PlanItem - summary: Get ref of PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListRefPlanItems + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -2891,63 +9046,57 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved navigation property links + description: Success content: application/json: schema: - title: Collection of links of PlanItem + title: Collection of Employee type: object properties: value: type: array items: - type: string + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - NewComePeople.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for NewComePeople - operationId: NewComePeople.Trips.CreateRefPlanItems + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -2956,39 +9105,44 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip requestBody: - description: New navigation property ref value + description: Action parameters content: application/json: schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object + '204': + description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -2997,73 +9151,51 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string responses: '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /NewComePeople/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.NewComePeople - responses: - '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - /People: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Person - summary: Get entities from People - operationId: People.Person.ListPerson + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -3106,47 +9238,56 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Result entities content: application/json: schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - post: + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - People.Person - summary: Add new entity to People - operationId: People.Person.CreatePerson - requestBody: - description: New entity - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - required: true + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person responses: - '201': - description: Created entity + '200': + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - - People.Person - summary: Get entity from People by key - operationId: People.Person.GetPerson + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -3155,61 +9296,106 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved entity + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Update entity in People - operationId: People.Person.UpdatePerson + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -3219,23 +9405,43 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: New property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: tags: - - People.Person - summary: Delete entity from People - operationId: People.Person.DeletePerson + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - name: UserName in: path @@ -3244,24 +9450,43 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - People.Person - summary: Get BestFriend from People - description: The best friend. - operationId: People.GetBestFriend + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -3312,21 +9537,19 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/$ref': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - People.Person - summary: Get ref of BestFriend from People - description: The best friend. - operationId: People.GetRefBestFriend + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -3337,20 +9560,33 @@ paths: x-ms-docs-key-type: Person responses: '200': - description: Retrieved navigation property link + description: Success content: application/json: schema: - type: string + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - put: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: tags: - - People.Person - summary: Update the ref of navigation property BestFriend in People - description: The best friend. - operationId: People.UpdateRefBestFriend + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -3359,27 +9595,47 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref values - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - People.Person - summary: Delete ref of navigation property BestFriend for People - description: The best friend. - operationId: People.DeleteRefBestFriend + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -3388,23 +9644,57 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends': - get: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Get Friends from People - operationId: People.ListFriends + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -3413,106 +9703,89 @@ paths: schema: type: string x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - title: Collection of Person type: object properties: value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/$ref': - delete: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - People.Person - summary: Delete ref of navigation property Friends for People - operationId: People.DeleteRefFriends + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.GetFavoriteAirline parameters: - name: UserName in: path @@ -3521,33 +9794,84 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.GetFriendsTrips + parameters: + - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Friends + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.GetPeersForTrip parameters: - name: UserName in: path @@ -3556,21 +9880,56 @@ paths: schema: type: string x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/$ref': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Person - summary: Get ref of Friends from People - operationId: People.ListRefFriends + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -3579,14 +9938,9 @@ paths: schema: type: string x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby + - name: $select in: query - description: Order items by property values + description: Select properties to be returned style: form explode: false schema: @@ -3595,49 +9949,50 @@ paths: items: enum: - UserName - - UserName desc - FirstName - - FirstName desc - LastName - - LastName desc - MiddleName - - MiddleName desc - Gender - - Gender desc - Age - - Age desc - Emails - - Emails desc - AddressInfo - - AddressInfo desc - HomeAddress - - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - Features - - Features desc + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links + description: Result entities content: application/json: schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - People.Person - summary: Create new navigation property ref to Friends for People - operationId: People.CreateRefFriends + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -3646,31 +10001,35 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true responses: - '201': - description: Created navigation property link. + '200': + description: Success content: application/json: schema: - type: object + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.GetFavoriteAirline + summary: Invoke function GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -3679,24 +10038,47 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string responses: '200': description: Success content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.GetFriendsTrips + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -3705,36 +10087,90 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName=''{userName}''' - required: true - schema: - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': description: Success content: application/json: schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: type: array items: anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': post: tags: - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.GetPeersForTrip + summary: Invoke action Hire + description: Hires someone for the company. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -3758,24 +10194,68 @@ paths: type: integer format: int32 required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName=''{lastName}''' + required: true + schema: + type: string responses: '200': description: Success content: application/json: schema: - title: Collection of Person type: object properties: value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -3812,6 +10292,17 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: @@ -3846,6 +10337,17 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' '/People/{UserName}/Trips': get: tags: @@ -4154,13 +10656,188 @@ paths: nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/People/{UserName}/Trips/{TripId}/PlanItems': + x-ms-docs-operation-type: function + '/People/{UserName}/Trips/{TripId}/PlanItems': + get: + tags: + - People.Trips.PlanItem + summary: Get PlanItems from People + operationId: People.Trips.ListPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - People.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for People + operationId: People.Trips.DeleteRefPlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: PlanItemId + in: path + description: 'key: PlanItemId of PlanItem' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: PlanItem + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': get: tags: - People.Trips.PlanItem - summary: Get PlanItems from People - operationId: People.Trips.ListPlanItems + summary: Get ref of PlanItems from People + operationId: People.Trips.ListRefPlanItems parameters: - name: UserName in: path @@ -4205,56 +10882,27 @@ paths: - Duration - Duration desc type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links content: application/json: schema: - title: Collection of PlanItem + title: Collection of links of PlanItem type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + post: tags: - People.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for People - operationId: People.Trips.DeleteRefPlanItems + summary: Create new navigation property ref to PlanItems for People + operationId: People.Trips.CreateRefPlanItems parameters: - name: UserName in: path @@ -4273,95 +10921,348 @@ paths: type: integer format: int32 x-ms-docs-key-type: Trip - - name: PlanItemId + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + parameters: + - name: UserName in: path - description: 'key: PlanItemId of PlanItem' + description: 'key: UserName of Person' required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: PlanItem - - name: If-Match - in: header - description: ETag schema: type: string - - name: '@id' + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /People/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.People + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: $select in: query - description: Delete Uri + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true schema: type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - - name: UserName + - name: lastName in: path - description: 'key: UserName of Person' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip responses: '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - '/People/{UserName}/Trips/{TripId}/PlanItems/$ref': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - People.Trips.PlanItem - summary: Get ref of PlanItems from People - operationId: People.Trips.ListRefPlanItems + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand in: query - description: Order items by property values + description: Expand related entities style: form explode: false schema: @@ -4369,109 +11270,218 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links + description: Result entities content: application/json: schema: - title: Collection of links of PlanItem + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager type: object properties: value: type: array items: - type: string + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - - People.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for People - operationId: People.Trips.CreateRefPlanItems - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip requestBody: - description: New navigation property ref value + description: Action parameters content: application/json: schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '201': - description: Created navigation property link. + '200': + description: Success content: application/json: schema: + title: Collection of Manager type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - - name: UserName + - name: lastName in: path - description: 'key: UserName of Person' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /People/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.People responses: '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' /ResetDataSource: post: tags: @@ -5103,10 +12113,12 @@ tags: x-ms-docs-toc-type: container - name: Me.Person x-ms-docs-toc-type: page + - name: Person.Employee - name: Me.Functions x-ms-docs-toc-type: container - name: Me.Actions x-ms-docs-toc-type: container + - name: Person.Manager - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem From 916edbd988980c69415138a70fcf13539adf21dc Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 14:35:12 -0500 Subject: [PATCH 17/28] - refactors tests for reusability Signed-off-by: Vincent Biret --- .../Edm/ODataPathProviderTests.cs | 127 +++--------------- 1 file changed, 22 insertions(+), 105 deletions(-) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs index 2daaa80d..27928705 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs @@ -70,22 +70,6 @@ public void GetPathsForGraphBetaModelWithDerivedTypesConstraintReturnsAllPaths() Assert.Equal(17163, paths.Count()); } - [Fact] - public void GetPathsForInheritanceModelWithoutDerivedTypesConstraintReturnsMore() - { - // Arrange - IEdmModel model = GetInheritanceModel(string.Empty); - ODataPathProvider provider = new ODataPathProvider(); - var settings = new OpenApiConvertSettings(); - - // Act - var paths = provider.GetPaths(model, settings); - - // Assert - Assert.NotNull(paths); - Assert.Equal(4, paths.Count()); - } - [Fact] public void GetPathsDoesntReturnPathsForCountWhenDisabled() { @@ -104,49 +88,42 @@ public void GetPathsDoesntReturnPathsForCountWhenDisabled() Assert.Equal(3, paths.Count()); } - [Fact] - public void GetPathsForInheritanceModelWithDerivedTypesConstraintNoAnnotationReturnsFewer() - { - // Arrange - IEdmModel model = GetInheritanceModel(string.Empty); - ODataPathProvider provider = new ODataPathProvider(); - var settings = new OpenApiConvertSettings - { - RequireDerivedTypesConstraintForBoundOperations = true - }; - - // Act - var paths = provider.GetPaths(model, settings); - - // Assert - Assert.NotNull(paths); - Assert.Equal(3, paths.Count()); - } - - [Fact] - public void GetPathsForInheritanceModelWithDerivedTypesConstraintWithAnnotationReturnsMore() - { - // Arrange - IEdmModel model = GetInheritanceModel(@" + [Theory] + [InlineData("", false, true, 3)] + [InlineData("", false, false, 4)] + [InlineData(@" NS.Customer NS.NiceCustomer -"); - ODataPathProvider provider = new ODataPathProvider(); +", false, true, 6)] + [InlineData("", true, false, 5)] + [InlineData("", true, true, 4)] + [InlineData(@" + + + NS.Customer + NS.NiceCustomer + +", true, true, 5)] + public void GetOperationPathsForModelWithDerivedTypesConstraint(string annotation, bool getNavPropModel, bool requireConstraint, int expectedCount) + { + // Arrange + IEdmModel model = getNavPropModel ? GetNavPropModel(annotation) : GetInheritanceModel(annotation); + ODataPathProvider provider = new(); var settings = new OpenApiConvertSettings { - RequireDerivedTypesConstraintForBoundOperations = true + RequireDerivedTypesConstraintForBoundOperations = requireConstraint }; // Act var paths = provider.GetPaths(model, settings); // Assert - Assert.Equal(4, paths.Count()); + Assert.NotNull(paths); + Assert.Equal(expectedCount, paths.Count()); } - #if DEBUG // Super useful for debugging tests. private string ListToString(IEnumerable paths) @@ -156,66 +133,6 @@ private string ListToString(IEnumerable paths) } #endif - [Fact] - public void GetPathsForNavPropModelWithoutDerivedTypesConstraintReturnsMore() - { - // Arrange - IEdmModel model = GetNavPropModel(string.Empty); - ODataPathProvider provider = new ODataPathProvider(); - var settings = new OpenApiConvertSettings(); - - // Act - var paths = provider.GetPaths(model, settings); - - // Assert - Assert.NotNull(paths); - Assert.Equal(5, paths.Count()); - } - - [Fact] - public void GetPathsForNavPropModelWithDerivedTypesConstraintNoAnnotationReturnsFewer() - { - // Arrange - IEdmModel model = GetNavPropModel(string.Empty); - ODataPathProvider provider = new ODataPathProvider(); - var settings = new OpenApiConvertSettings - { - RequireDerivedTypesConstraintForBoundOperations = true - }; - - // Act - var paths = provider.GetPaths(model, settings); - - // Assert - Assert.NotNull(paths); - Assert.Equal(4, paths.Count()); - } - - [Fact] - public void GetPathsForNavPropModelWithDerivedTypesConstraintWithAnnotationReturnsMore() - { - // Arrange - IEdmModel model = GetNavPropModel(@" - - - NS.Customer - NS.NiceCustomer - -"); - ODataPathProvider provider = new ODataPathProvider(); - var settings = new OpenApiConvertSettings - { - RequireDerivedTypesConstraintForBoundOperations = true - }; - - // Act - var paths = provider.GetPaths(model, settings); - - // Assert - Assert.NotNull(paths); - Assert.Equal(5, paths.Count()); - } - [Fact] public void GetPathsForSingleEntitySetWorks() { From a740942fd951882487f04fc06f47e2d67c8227de Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 3 Dec 2021 14:54:45 -0500 Subject: [PATCH 18/28] - adds unit tests for odata type cast path provider Signed-off-by: Vincent Biret --- .../Edm/ODataPathProviderTests.cs | 57 +++++++++++++------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs index 27928705..3df9cb92 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs @@ -87,29 +87,27 @@ public void GetPathsDoesntReturnPathsForCountWhenDisabled() Assert.NotNull(paths); Assert.Equal(3, paths.Count()); } - - [Theory] - [InlineData("", false, true, 3)] - [InlineData("", false, false, 4)] - [InlineData(@" - - - NS.Customer - NS.NiceCustomer - -", false, true, 6)] - [InlineData("", true, false, 5)] - [InlineData("", true, true, 4)] - [InlineData(@" + private const string derivedTypeAnnotation = @" NS.Customer NS.NiceCustomer -", true, true, 5)] - public void GetOperationPathsForModelWithDerivedTypesConstraint(string annotation, bool getNavPropModel, bool requireConstraint, int expectedCount) +"; + + [Theory] + [InlineData(false, false, true, 3)] + [InlineData(false, false, false, 4)] + [InlineData(true, false, true, 6)] + [InlineData(true, false, false, 6)] + [InlineData(false, true, false, 5)] + [InlineData(false, true, true, 4)] + [InlineData(true, true, true, 5)] + [InlineData(true, true, false, 5)] + public void GetOperationPathsForModelWithDerivedTypesConstraint(bool addAnnotation, bool getNavPropModel, bool requireConstraint, int expectedCount) { // Arrange + var annotation = addAnnotation ? derivedTypeAnnotation : string.Empty; IEdmModel model = getNavPropModel ? GetNavPropModel(annotation) : GetInheritanceModel(annotation); ODataPathProvider provider = new(); var settings = new OpenApiConvertSettings @@ -120,6 +118,33 @@ public void GetOperationPathsForModelWithDerivedTypesConstraint(string annotatio // Act var paths = provider.GetPaths(model, settings); + // Assert + Assert.NotNull(paths); + Assert.Equal(expectedCount, paths.Count()); + } + [Theory] + [InlineData(false, false, true, 4)] + [InlineData(false, false, false, 6)] + [InlineData(true, false, true, 6)] + [InlineData(true, false, false, 6)] + [InlineData(false, true, false, 5)] + [InlineData(false, true, true, 5)] + [InlineData(true, true, true, 5)] + [InlineData(true, true, false, 5)] + public void GetTypeCastPathsForModelWithDerivedTypesConstraint(bool addAnnotation, bool getNavPropModel, bool requireConstraint, int expectedCount) + { + // Arrange + var annotation = addAnnotation ? derivedTypeAnnotation : string.Empty; + IEdmModel model = getNavPropModel ? GetNavPropModel(annotation) : GetInheritanceModel(annotation); + ODataPathProvider provider = new(); + var settings = new OpenApiConvertSettings + { + RequireDerivedTypesConstraintForODataTypeCastSegments = requireConstraint + }; + + // Act + var paths = provider.GetPaths(model, settings); + // Assert Assert.NotNull(paths); Assert.Equal(expectedCount, paths.Count()); From f6c36d183b54d0b0b71f391db71c8d113200b57d Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 7 Dec 2021 14:41:23 -0500 Subject: [PATCH 19/28] - removes parameters quotes in sample files following rebase Signed-off-by: Vincent Biret --- .../Resources/TripService.OpenApi.V2.json | 1088 ++++++++--------- .../Resources/TripService.OpenApi.V2.yaml | 1088 ++++++++--------- .../Resources/TripService.OpenApi.json | 1088 ++++++++--------- .../Resources/TripService.OpenApi.yaml | 1088 ++++++++--------- 4 files changed, 2176 insertions(+), 2176 deletions(-) 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 d4d498f7..4a44441b 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 @@ -976,7 +976,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -990,7 +990,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -1018,14 +1018,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -1150,7 +1150,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -1164,7 +1164,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -1189,14 +1189,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -1298,7 +1298,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -1312,7 +1312,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -1340,14 +1340,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -1472,7 +1472,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -1486,7 +1486,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -1511,14 +1511,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends": { @@ -1801,7 +1801,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -1823,7 +1823,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -1851,14 +1851,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -1999,7 +1999,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -2021,7 +2021,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -2046,14 +2046,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -2173,7 +2173,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -2195,7 +2195,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -2223,14 +2223,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -2371,7 +2371,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -2393,7 +2393,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -2418,14 +2418,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/$count": { @@ -2669,7 +2669,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -2683,7 +2683,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -2711,14 +2711,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -2843,7 +2843,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -2857,7 +2857,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -2882,14 +2882,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -2991,7 +2991,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -3005,7 +3005,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -3033,14 +3033,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3165,7 +3165,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -3179,7 +3179,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -3204,14 +3204,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { @@ -3313,7 +3313,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -3327,7 +3327,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -3355,14 +3355,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3487,7 +3487,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -3501,7 +3501,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -3526,14 +3526,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -3612,14 +3612,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3789,7 +3789,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -3803,7 +3803,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -3831,14 +3831,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -4001,7 +4001,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -4015,7 +4015,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -4040,14 +4040,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -4143,14 +4143,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Trips": { @@ -5447,7 +5447,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -5469,7 +5469,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -5497,12 +5497,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -5639,7 +5639,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -5661,7 +5661,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -5686,12 +5686,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -5809,7 +5809,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -5831,7 +5831,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -5859,12 +5859,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -6001,7 +6001,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6023,7 +6023,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -6048,12 +6048,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends": { @@ -6366,7 +6366,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6396,7 +6396,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -6424,12 +6424,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -6582,7 +6582,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6612,7 +6612,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -6637,12 +6637,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -6776,7 +6776,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6806,7 +6806,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -6834,12 +6834,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -6992,7 +6992,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7022,7 +7022,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -7047,12 +7047,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/$count": { @@ -7338,7 +7338,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7360,7 +7360,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -7388,12 +7388,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -7530,7 +7530,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7552,7 +7552,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -7577,12 +7577,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -7700,7 +7700,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7722,7 +7722,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -7750,12 +7750,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -7892,7 +7892,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7914,7 +7914,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -7939,12 +7939,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -8039,12 +8039,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -8274,12 +8274,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Trips": { @@ -9698,7 +9698,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -9720,7 +9720,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -9748,16 +9748,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -9902,7 +9902,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -9924,7 +9924,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -9949,16 +9949,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -10080,7 +10080,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -10102,7 +10102,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -10130,16 +10130,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -10284,7 +10284,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -10306,7 +10306,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -10331,16 +10331,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends": { @@ -10657,7 +10657,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -10687,7 +10687,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -10715,16 +10715,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -10885,7 +10885,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -10915,7 +10915,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -10940,16 +10940,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -11087,7 +11087,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -11117,7 +11117,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -11145,16 +11145,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -11315,7 +11315,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -11345,7 +11345,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -11370,16 +11370,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/$count": { @@ -11669,7 +11669,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -11691,7 +11691,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -11719,16 +11719,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -11873,7 +11873,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -11895,7 +11895,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -11920,16 +11920,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -12051,7 +12051,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -12073,7 +12073,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -12101,16 +12101,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -12255,7 +12255,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -12277,7 +12277,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -12302,16 +12302,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { @@ -12433,7 +12433,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -12455,7 +12455,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -12483,16 +12483,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -12637,7 +12637,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -12659,7 +12659,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -12684,16 +12684,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -12792,16 +12792,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -13001,7 +13001,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -13023,7 +13023,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -13051,16 +13051,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -13251,7 +13251,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -13273,7 +13273,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -13298,16 +13298,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -13421,16 +13421,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Trips": { @@ -14344,7 +14344,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -14358,7 +14358,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -14386,16 +14386,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -14524,7 +14524,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -14538,7 +14538,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -14563,16 +14563,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -14676,7 +14676,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -14690,7 +14690,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "type": "string" } @@ -14718,16 +14718,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -14856,7 +14856,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -14870,7 +14870,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "type": "string" } @@ -14895,16 +14895,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/ResetDataSource": { 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 5462bcf8..473b084b 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 @@ -667,7 +667,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -678,7 +678,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -696,14 +696,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -791,7 +791,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -802,7 +802,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -818,14 +818,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -899,7 +899,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -910,7 +910,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -928,14 +928,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -1023,7 +1023,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1034,7 +1034,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -1050,14 +1050,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends: get: tags: @@ -1260,7 +1260,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1277,7 +1277,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -1295,14 +1295,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -1402,7 +1402,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1419,7 +1419,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -1435,14 +1435,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -1529,7 +1529,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1546,7 +1546,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -1564,14 +1564,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -1671,7 +1671,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1688,7 +1688,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -1704,14 +1704,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/$count: get: summary: Get the number of the resource @@ -1881,7 +1881,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1892,7 +1892,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -1910,14 +1910,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2005,7 +2005,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2016,7 +2016,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -2032,14 +2032,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -2113,7 +2113,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2124,7 +2124,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -2142,14 +2142,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2237,7 +2237,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2248,7 +2248,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -2264,14 +2264,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: @@ -2345,7 +2345,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2356,7 +2356,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -2374,14 +2374,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2469,7 +2469,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2480,7 +2480,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -2496,14 +2496,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -2558,14 +2558,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2687,7 +2687,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2698,7 +2698,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -2716,14 +2716,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2836,7 +2836,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2847,7 +2847,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -2863,14 +2863,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: @@ -2937,14 +2937,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Trips: get: tags: @@ -3856,7 +3856,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -3873,7 +3873,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -3891,12 +3891,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -3992,7 +3992,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4009,7 +4009,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -4025,12 +4025,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -4115,7 +4115,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4132,7 +4132,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -4150,12 +4150,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -4251,7 +4251,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4268,7 +4268,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -4284,12 +4284,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends': get: tags: @@ -4514,7 +4514,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4537,7 +4537,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -4555,12 +4555,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -4668,7 +4668,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4691,7 +4691,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -4707,12 +4707,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -4809,7 +4809,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4832,7 +4832,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -4850,12 +4850,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -4963,7 +4963,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4986,7 +4986,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -5002,12 +5002,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -5207,7 +5207,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -5224,7 +5224,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -5242,12 +5242,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5343,7 +5343,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -5360,7 +5360,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -5376,12 +5376,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -5466,7 +5466,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -5483,7 +5483,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -5501,12 +5501,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5602,7 +5602,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -5619,7 +5619,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -5635,12 +5635,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -5706,12 +5706,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5871,12 +5871,12 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Trips': get: tags: @@ -6878,7 +6878,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -6895,7 +6895,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -6913,16 +6913,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7026,7 +7026,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -7043,7 +7043,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -7059,16 +7059,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -7157,7 +7157,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -7174,7 +7174,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -7192,16 +7192,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7305,7 +7305,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -7322,7 +7322,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -7338,16 +7338,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends': get: tags: @@ -7576,7 +7576,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -7599,7 +7599,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -7617,16 +7617,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7742,7 +7742,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -7765,7 +7765,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -7781,16 +7781,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -7891,7 +7891,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -7914,7 +7914,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -7932,16 +7932,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -8057,7 +8057,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -8080,7 +8080,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -8096,16 +8096,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -8309,7 +8309,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8326,7 +8326,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -8344,16 +8344,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -8457,7 +8457,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -8474,7 +8474,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -8490,16 +8490,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -8588,7 +8588,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8605,7 +8605,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -8623,16 +8623,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -8736,7 +8736,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -8753,7 +8753,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -8769,16 +8769,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: @@ -8867,7 +8867,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8884,7 +8884,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -8902,16 +8902,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9015,7 +9015,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -9032,7 +9032,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -9048,16 +9048,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -9127,16 +9127,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9281,7 +9281,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -9298,7 +9298,7 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -9316,16 +9316,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9460,7 +9460,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -9477,7 +9477,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -9493,16 +9493,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -9583,16 +9583,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Trips': get: tags: @@ -10234,7 +10234,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -10245,7 +10245,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -10263,16 +10263,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -10364,7 +10364,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -10375,7 +10375,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -10391,16 +10391,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -10476,7 +10476,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -10487,7 +10487,7 @@ paths: parameters: - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: @@ -10505,16 +10505,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -10606,7 +10606,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -10617,7 +10617,7 @@ paths: parameters: - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -10633,16 +10633,16 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /ResetDataSource: post: tags: 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 764e8063..c858a98e 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -1124,7 +1124,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -1135,7 +1135,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -1174,14 +1174,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -1306,7 +1306,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -1317,7 +1317,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -1348,14 +1348,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -1474,7 +1474,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -1485,7 +1485,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -1524,14 +1524,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -1656,7 +1656,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -1667,7 +1667,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -1698,14 +1698,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends": { @@ -2031,7 +2031,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -2052,7 +2052,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -2091,14 +2091,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -2247,7 +2247,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -2268,7 +2268,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -2299,14 +2299,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -2447,7 +2447,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -2468,7 +2468,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -2507,14 +2507,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -2663,7 +2663,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -2684,7 +2684,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -2715,14 +2715,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/$count": { @@ -2988,7 +2988,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -2999,7 +2999,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -3038,14 +3038,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3170,7 +3170,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -3181,7 +3181,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -3212,14 +3212,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -3338,7 +3338,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -3349,7 +3349,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -3388,14 +3388,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3520,7 +3520,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -3531,7 +3531,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -3562,14 +3562,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { @@ -3688,7 +3688,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -3699,7 +3699,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -3738,14 +3738,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -3870,7 +3870,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -3881,7 +3881,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -3912,14 +3912,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -4012,14 +4012,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -4209,7 +4209,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" @@ -4220,7 +4220,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -4259,14 +4259,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -4431,7 +4431,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" @@ -4442,7 +4442,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -4473,14 +4473,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -4576,14 +4576,14 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/Me/Trips": { @@ -6034,7 +6034,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6055,7 +6055,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -6094,12 +6094,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -6244,7 +6244,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6265,7 +6265,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -6296,12 +6296,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -6440,7 +6440,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6461,7 +6461,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -6500,12 +6500,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -6650,7 +6650,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -6671,7 +6671,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -6702,12 +6702,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends": { @@ -7071,7 +7071,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7102,7 +7102,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -7141,12 +7141,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -7311,7 +7311,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7342,7 +7342,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -7373,12 +7373,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -7537,7 +7537,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7568,7 +7568,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -7607,12 +7607,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -7777,7 +7777,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -7808,7 +7808,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -7839,12 +7839,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/$count": { @@ -8164,7 +8164,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -8185,7 +8185,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -8224,12 +8224,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -8374,7 +8374,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -8395,7 +8395,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -8426,12 +8426,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -8570,7 +8570,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -8591,7 +8591,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -8630,12 +8630,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -8780,7 +8780,7 @@ "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" @@ -8801,7 +8801,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -8832,12 +8832,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -8950,12 +8950,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -9204,12 +9204,12 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Trips": { @@ -10809,7 +10809,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -10830,7 +10830,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -10869,16 +10869,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -11031,7 +11031,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -11052,7 +11052,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -11083,16 +11083,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -11235,7 +11235,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -11256,7 +11256,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -11295,16 +11295,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -11457,7 +11457,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -11478,7 +11478,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -11509,16 +11509,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends": { @@ -11886,7 +11886,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -11917,7 +11917,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -11956,16 +11956,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -12138,7 +12138,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -12169,7 +12169,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -12200,16 +12200,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -12372,7 +12372,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -12403,7 +12403,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -12442,16 +12442,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -12624,7 +12624,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -12655,7 +12655,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -12686,16 +12686,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/$count": { @@ -13019,7 +13019,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -13040,7 +13040,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -13079,16 +13079,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -13241,7 +13241,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -13262,7 +13262,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -13293,16 +13293,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -13445,7 +13445,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -13466,7 +13466,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -13505,16 +13505,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -13667,7 +13667,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -13688,7 +13688,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -13719,16 +13719,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { @@ -13871,7 +13871,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -13892,7 +13892,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -13931,16 +13931,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -14093,7 +14093,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -14114,7 +14114,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -14145,16 +14145,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -14271,16 +14271,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -14508,7 +14508,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -14529,7 +14529,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -14568,16 +14568,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -14782,7 +14782,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -14803,7 +14803,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -14834,16 +14834,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -14963,16 +14963,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Trips": { @@ -16010,7 +16010,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -16021,7 +16021,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -16060,16 +16060,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -16198,7 +16198,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -16209,7 +16209,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -16240,16 +16240,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -16370,7 +16370,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" @@ -16381,7 +16381,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -16420,16 +16420,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -16558,7 +16558,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" @@ -16569,7 +16569,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -16600,16 +16600,16 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/ResetDataSource": { 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 c0cd3956..fb65a2f9 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -750,7 +750,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -759,7 +759,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -782,14 +782,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -875,7 +875,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -884,7 +884,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -903,14 +903,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -994,7 +994,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1003,7 +1003,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -1026,14 +1026,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -1119,7 +1119,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1128,7 +1128,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -1147,14 +1147,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends: get: tags: @@ -1384,7 +1384,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1400,7 +1400,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -1423,14 +1423,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -1532,7 +1532,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1548,7 +1548,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -1567,14 +1567,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -1673,7 +1673,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -1689,7 +1689,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -1712,14 +1712,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -1821,7 +1821,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -1837,7 +1837,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -1856,14 +1856,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/$count: get: summary: Get the number of the resource @@ -2045,7 +2045,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2054,7 +2054,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -2077,14 +2077,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2170,7 +2170,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2179,7 +2179,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -2198,14 +2198,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -2289,7 +2289,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2298,7 +2298,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -2321,14 +2321,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2414,7 +2414,7 @@ paths: - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2423,7 +2423,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -2442,14 +2442,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: @@ -2533,7 +2533,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2542,7 +2542,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -2565,14 +2565,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2658,7 +2658,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -2667,7 +2667,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -2686,14 +2686,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -2753,14 +2753,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -2892,7 +2892,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions @@ -2901,7 +2901,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -2924,14 +2924,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -3042,7 +3042,7 @@ paths: - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions @@ -3051,7 +3051,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -3070,14 +3070,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: @@ -3143,14 +3143,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Trips: get: tags: @@ -4154,7 +4154,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4170,7 +4170,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -4193,12 +4193,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -4296,7 +4296,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4312,7 +4312,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -4331,12 +4331,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -4433,7 +4433,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4449,7 +4449,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -4472,12 +4472,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -4575,7 +4575,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -4591,7 +4591,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -4610,12 +4610,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends': get: tags: @@ -4871,7 +4871,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -4894,7 +4894,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -4917,12 +4917,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5034,7 +5034,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -5057,7 +5057,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -5076,12 +5076,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -5192,7 +5192,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -5215,7 +5215,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -5238,12 +5238,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5355,7 +5355,7 @@ paths: - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -5378,7 +5378,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -5397,12 +5397,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -5620,7 +5620,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -5636,7 +5636,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -5659,12 +5659,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -5762,7 +5762,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -5778,7 +5778,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -5797,12 +5797,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -5899,7 +5899,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions @@ -5915,7 +5915,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -5938,12 +5938,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -6041,7 +6041,7 @@ paths: - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions @@ -6057,7 +6057,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -6076,12 +6076,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -6154,12 +6154,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -6325,12 +6325,12 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Trips': get: tags: @@ -7437,7 +7437,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -7453,7 +7453,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -7476,16 +7476,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7591,7 +7591,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -7607,7 +7607,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -7626,16 +7626,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -7736,7 +7736,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -7752,7 +7752,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -7775,16 +7775,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7890,7 +7890,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -7906,7 +7906,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -7925,16 +7925,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends': get: tags: @@ -8194,7 +8194,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8217,7 +8217,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -8240,16 +8240,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -8369,7 +8369,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -8392,7 +8392,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -8411,16 +8411,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -8535,7 +8535,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8558,7 +8558,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -8581,16 +8581,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -8710,7 +8710,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -8733,7 +8733,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -8752,16 +8752,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -8983,7 +8983,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -8999,7 +8999,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -9022,16 +9022,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9137,7 +9137,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -9153,7 +9153,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -9172,16 +9172,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -9282,7 +9282,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -9298,7 +9298,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -9321,16 +9321,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9436,7 +9436,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -9452,7 +9452,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -9471,16 +9471,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: @@ -9581,7 +9581,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -9597,7 +9597,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -9620,16 +9620,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9735,7 +9735,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -9751,7 +9751,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -9770,16 +9770,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -9856,16 +9856,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -10024,7 +10024,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -10040,7 +10040,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -10063,16 +10063,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -10211,7 +10211,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -10227,7 +10227,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -10246,16 +10246,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -10338,16 +10338,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Trips': get: tags: @@ -11059,7 +11059,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -11068,7 +11068,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -11091,16 +11091,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -11190,7 +11190,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -11199,7 +11199,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -11218,16 +11218,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -11313,7 +11313,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions @@ -11322,7 +11322,7 @@ paths: parameters: - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -11345,16 +11345,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: @@ -11444,7 +11444,7 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions @@ -11453,7 +11453,7 @@ paths: parameters: - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -11472,16 +11472,16 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /ResetDataSource: post: tags: From 0e584c141c0724e1850800b3bfa3d68f98141dd3 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 7 Dec 2021 15:20:35 -0500 Subject: [PATCH 20/28] - adds count segments under typecast segments Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 17 +- .../Edm/ODataPathProviderTests.cs | 20 +- .../Resources/TripService.OpenApi.V2.json | 200 ++++++++++++++++ .../Resources/TripService.OpenApi.V2.yaml | 132 +++++++++++ .../Resources/TripService.OpenApi.json | 216 ++++++++++++++++++ .../Resources/TripService.OpenApi.yaml | 136 +++++++++++ 6 files changed, 709 insertions(+), 12 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 26b0fe99..bf770fbf 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -190,16 +190,16 @@ private void RetrieveNavigationSourcePaths(IEdmNavigationSource navigationSource if(count?.Countable ?? true) // ~/entitySet/$count CreateCountPath(path, convertSettings); - CreateTypeCastPaths(path, convertSettings, entityType, entitySet); // ~/entitySet/subType + CreateTypeCastPaths(path, convertSettings, entityType, entitySet, true); // ~/entitySet/subType path.Push(new ODataKeySegment(entityType)); AppendPath(path.Clone()); - CreateTypeCastPaths(path, convertSettings, entityType, entitySet); // ~/entitySet/{id}/subType + CreateTypeCastPaths(path, convertSettings, entityType, entitySet, false); // ~/entitySet/{id}/subType } else if (navigationSource is IEdmSingleton singleton) { // ~/singleton/subType - CreateTypeCastPaths(path, convertSettings, entityType, singleton); + CreateTypeCastPaths(path, convertSettings, entityType, singleton, false); } // media entity @@ -307,7 +307,7 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr } // ~/entityset/{key}/collection-valued-Nav/subtype // ~/entityset/{key}/single-valued-Nav/subtype - CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty, targetsMany); if (!navigationProperty.ContainsTarget) { @@ -322,7 +322,7 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr currentPath.Push(new ODataKeySegment(navEntityType)); CreateRefPath(currentPath); - CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty, false); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype } // Get possible stream paths for the navigation entity type @@ -336,7 +336,7 @@ private void RetrieveNavigationPropertyPaths(IEdmNavigationProperty navigationPr currentPath.Push(new ODataKeySegment(navEntityType)); AppendPath(currentPath.Clone()); - CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype + CreateTypeCastPaths(currentPath, convertSettings, navigationProperty.DeclaringType, navigationProperty, false); // ~/entityset/{key}/collection-valued-Nav/{id}/subtype } // Get possible stream paths for the navigation entity type @@ -420,7 +420,8 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve /// The settings for the current conversion. /// The type that is being inherited from to which this method will add downcast path segments. /// The annotable navigation source to read cast annotations from. - private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable) + /// Whether the annotable navigation source targets many entities. + private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable, bool targetsMany) { if(currentPath == null) throw new ArgumentNullException(nameof(currentPath)); if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings)); @@ -452,6 +453,8 @@ bool filter(IEdmStructuredType x) => var castPath = currentPath.Clone(); castPath.Push(new ODataTypeCastSegment(targetType)); AppendPath(castPath); + if(targetsMany) + CreateCountPath(castPath, convertSettings); } } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs index 3df9cb92..6c578ff4 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs @@ -98,8 +98,8 @@ public void GetPathsDoesntReturnPathsForCountWhenDisabled() [Theory] [InlineData(false, false, true, 3)] [InlineData(false, false, false, 4)] - [InlineData(true, false, true, 6)] - [InlineData(true, false, false, 6)] + [InlineData(true, false, true, 7)] + [InlineData(true, false, false, 7)] [InlineData(false, true, false, 5)] [InlineData(false, true, true, 4)] [InlineData(true, true, true, 5)] @@ -121,12 +121,17 @@ public void GetOperationPathsForModelWithDerivedTypesConstraint(bool addAnnotati // Assert Assert.NotNull(paths); Assert.Equal(expectedCount, paths.Count()); + var dollarCountPathsWithCastSegment = paths.Where(x => x.Kind == ODataPathKind.DollarCount && x.Any(y => y.Kind == ODataSegmentKind.TypeCast)); + if(addAnnotation && !getNavPropModel) + Assert.Single(dollarCountPathsWithCastSegment); + else + Assert.Empty(dollarCountPathsWithCastSegment); } [Theory] [InlineData(false, false, true, 4)] - [InlineData(false, false, false, 6)] - [InlineData(true, false, true, 6)] - [InlineData(true, false, false, 6)] + [InlineData(false, false, false, 7)] + [InlineData(true, false, true, 7)] + [InlineData(true, false, false, 7)] [InlineData(false, true, false, 5)] [InlineData(false, true, true, 5)] [InlineData(true, true, true, 5)] @@ -148,6 +153,11 @@ public void GetTypeCastPathsForModelWithDerivedTypesConstraint(bool addAnnotatio // Assert Assert.NotNull(paths); Assert.Equal(expectedCount, paths.Count()); + var dollarCountPathsWithCastSegment = paths.Where(x => x.Kind == ODataPathKind.DollarCount && x.Any(y => y.Kind == ODataSegmentKind.TypeCast)); + if((addAnnotation || !requireConstraint) && !getNavPropModel) + Assert.Single(dollarCountPathsWithCastSegment); + else + Assert.Empty(dollarCountPathsWithCastSegment); } #if DEBUG // Super useful for debugging tests. 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 4a44441b..0ff94673 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 @@ -2635,6 +2635,26 @@ } } }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -2957,6 +2977,26 @@ } } }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -7296,6 +7336,36 @@ } } }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -7658,6 +7728,36 @@ } } }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -11623,6 +11723,36 @@ } } }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -12005,6 +12135,36 @@ } } }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -14308,6 +14468,26 @@ } } }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -14640,6 +14820,26 @@ } } }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ 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 473b084b..cd15a279 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 @@ -1856,6 +1856,19 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -2088,6 +2101,19 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -5177,6 +5203,26 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -5436,6 +5482,26 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -8275,6 +8341,26 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -8554,6 +8640,26 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -10207,6 +10313,19 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -10449,6 +10568,19 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: 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 c858a98e..a8e57ebb 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -2948,6 +2948,27 @@ } } }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -3298,6 +3319,27 @@ } } }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -8114,6 +8156,39 @@ } } }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -8520,6 +8595,39 @@ } } }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -12965,6 +13073,39 @@ } } }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -13391,6 +13532,39 @@ } } }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -15968,6 +16142,27 @@ } } }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ @@ -16328,6 +16523,27 @@ } } }, + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ 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 fb65a2f9..9e674a48 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -2018,6 +2018,19 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -2262,6 +2275,19 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -5587,6 +5613,27 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -5866,6 +5913,27 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -8946,6 +9014,27 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -9245,6 +9334,27 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -11030,6 +11140,19 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: @@ -11284,6 +11407,19 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: From 39bc79800fdadfaefb5263ab331bc92829c158b8 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 8 Dec 2021 10:28:48 -0500 Subject: [PATCH 21/28] - adds support for down cast navigation properties path items Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 11 +- .../Resources/TripService.OpenApi.V2.json | 15408 ++++++++++----- .../Resources/TripService.OpenApi.V2.yaml | 10624 ++++++---- .../Resources/TripService.OpenApi.json | 16492 +++++++++++----- .../Resources/TripService.OpenApi.yaml | 11992 +++++++---- 5 files changed, 37326 insertions(+), 17201 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index bf770fbf..d7df9bbe 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -453,8 +453,17 @@ bool filter(IEdmStructuredType x) => var castPath = currentPath.Clone(); castPath.Push(new ODataTypeCastSegment(targetType)); AppendPath(castPath); - if(targetsMany) + if(targetsMany) + { CreateCountPath(castPath, convertSettings); + } + else + { + foreach(var declaredNavigationProperty in targetType.DeclaredNavigationProperties()) + { + RetrieveNavigationPropertyPaths(declaredNavigationProperty, null, castPath, convertSettings); + } + } } } 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 0ff94673..4a7b8bfb 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 @@ -1199,17 +1199,65 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "Me.BestFriend.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from Me", + "operationId": "Me.BestFriend.ListPeers", "produces": [ "application/json" ], "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, { "in": "query", "name": "$select", @@ -1253,81 +1301,162 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Functions" + "Me.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.BestFriend.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "produces": [ - "application/json" + "text/plain" ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Me.Functions" + "Me.BestFriend.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get ref of Peers from Me", + "operationId": "Me.BestFriend.ListRefPeers", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -1337,26 +1466,14 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "Me.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.BestFriend.CreateRefPeers", "consumes": [ "application/json" ], @@ -1367,167 +1484,102 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } - } - ], - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Friends": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Person" + "Me.BestFriend.Person" ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", + "summary": "Get DirectReports from Me", + "operationId": "Me.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -1642,15 +1694,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/Me/Friends/{UserName}/$ref": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { "delete": { "tags": [ - "Me.Person" + "Me.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for Me", - "operationId": "Me.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -1684,61 +1740,81 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Employee" + "Me.BestFriend.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.BestFriend.ListRefDirectReports", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -1746,39 +1822,78 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { "tags": [ - "Me.Functions" + "Me.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.BestFriend.CreateRefDirectReports", + "consumes": [ + "application/json" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New navigation property ref value", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { "description": "Success", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" @@ -1792,7 +1907,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -1801,25 +1916,17 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "userName", @@ -1832,7 +1939,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1852,7 +1959,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -1861,13 +1968,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -1875,14 +1982,6 @@ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -1908,7 +2007,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -1928,7 +2027,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -1937,26 +2036,18 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -1990,7 +2081,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -1999,25 +2090,17 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "lastName", @@ -2047,7 +2130,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -2056,24 +2139,64 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Friends": { "get": { "tags": [ - "Person.Manager" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } }, { "in": "query", @@ -2118,27 +2241,34 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/Friends/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" + "Me.Person" ], + "summary": "Delete ref of navigation property Friends for Me", + "operationId": "Me.DeleteRefFriends", "parameters": [ { "in": "path", @@ -2147,39 +2277,38 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Functions" + "Person.Employee" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -2193,53 +2322,170 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -2280,7 +2526,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -2301,7 +2547,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -2309,14 +2555,14 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -2363,7 +2609,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -2371,13 +2617,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -2420,7 +2666,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -2428,37 +2674,25 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Friends/$ref": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Me.Person" + "Me.Friends.Person" ], - "summary": "Get ref of Friends from Me", - "operationId": "Me.ListRefFriends", + "summary": "Get Peers from Me", + "operationId": "Me.Friends.ListPeers", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -2506,19 +2740,59 @@ ], "type": "string" } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -2530,12 +2804,185 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { - "tags": [ - "Me.Person" + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { + "tags": [ + "Me.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for Me", - "operationId": "Me.CreateRefFriends", + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.Friends.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.Friends.ListRefPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.Friends.CreateRefPeers", "consumes": [ "application/json" ], @@ -2543,6 +2990,14 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -2570,17 +3025,25 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "query", "name": "$select", @@ -2626,27 +3089,7 @@ "200": { "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { @@ -2655,64 +3098,5427 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Functions" + "Me.Friends.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Get DirectReports from Me", + "operationId": "Me.Friends.ListDirectReports", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "string" - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.Friends.DeleteRefDirectReports", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.Friends.ListRefDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.Friends.CreateRefDirectReports", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Friends from Me", + "operationId": "Me.ListRefFriends", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Friends for Me", + "operationId": "Me.CreateRefFriends", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get Peers from Me", + "operationId": "Me.ListPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.ListRefPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.CreateRefPeers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName='{userName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get DirectReports from Me", + "operationId": "Me.ListDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.DeleteRefDirectReports", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.ListRefDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.CreateRefDirectReports", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Trips": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trip" + ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "201": { + "description": "Created navigation property.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "Me.Trip" + ], + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "Me.Trip" + ], + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/Me/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "path", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entities", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + } + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New entity", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "schema": { + "type": "string" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref values", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefPeers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -2731,23 +8537,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -2755,6 +8559,14 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -2780,7 +8592,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -2799,28 +8611,34 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -2853,27 +8671,33 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "lastName", @@ -2902,227 +8726,127 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } }, { "in": "query", - "name": "$expand", - "description": "Expand related entities", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ - "*", + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", "Friends", "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -3138,123 +8862,58 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "NewComePeople.Person" ], + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" + "type": "string", + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -3265,6 +8924,22 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "query", "name": "$select", @@ -3319,16 +8994,34 @@ } } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], "responses": { "200": { "description": "Success", @@ -3343,27 +9036,41 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "userName", @@ -3395,23 +9102,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -3419,6 +9124,22 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -3463,28 +9184,42 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -3517,27 +9252,41 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "lastName", @@ -3566,181 +9315,89 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "query", "name": "$select", @@ -3784,81 +9441,15 @@ ], "responses": { "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -3868,112 +9459,55 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "NewComePeople.Friends.Person" ], + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", - "consumes": [ - "application/json" - ], - "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "hire": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName2", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -3981,94 +9515,138 @@ "description": "Success" }, "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { + "title": "Collection of links of Person", "type": "object", "properties": { "value": { - "default": false, - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } } } } @@ -4077,134 +9655,172 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Me.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "lastName", - "description": "Usage: lastName='{lastName}'", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Trips": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -4227,22 +9843,28 @@ "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -4254,15 +9876,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -4275,7 +9902,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -4285,13 +9914,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of Trip", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -4303,96 +9932,175 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "Me.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", - "consumes": [ - "application/json" + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName2", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "New navigation property", + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "201": { - "description": "Created navigation property.", + "200": { + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Trips/{TripId}": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Me.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } + "$ref": "#/parameters/count" }, { "in": "query", - "name": "$expand", - "description": "Expand related entities", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ - "*", - "PlanItems" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -4400,9 +10108,18 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { @@ -4411,77 +10128,54 @@ }, "x-ms-docs-operation-type": "operation" }, - "patch": { + "post": { "tags": [ - "Me.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "body", "name": "body", - "description": "New navigation property values", + "description": "New navigation property ref value", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "Me.Trip" - ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" @@ -4490,43 +10184,39 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { @@ -4534,106 +10224,62 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Trips/{TripId}/PlanItems": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Functions" ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*" - ], - "type": "string" - } + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "title": "Collection of PlanItem", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -4643,235 +10289,247 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" + "type": "string", + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "produces": [ - "text/plain" - ], - "parameters": [ { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/Me/Trips/{TripId}/PlanItems/$ref": { - "get": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/count" + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, "schema": { - "title": "Collection of links of PlanItem", "type": "object", "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" } } } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "post": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", - "consumes": [ - "application/json" + "NewComePeople.Functions" ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "New navigation property ref value", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "schema": { - "type": "object" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/Me/Trips/$count": { + "/NewComePeople/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Friends", "produces": [ "text/plain" ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], "responses": { "200": { "description": "The count of the resource", @@ -4885,17 +10543,25 @@ } } }, - "/NewComePeople": { + "/NewComePeople/{UserName}/Friends/$ref": { "get": { "tags": [ "NewComePeople.Person" ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -4943,59 +10609,19 @@ ], "type": "string" } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } } ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -5004,14 +10630,15 @@ "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" }, "post": { "tags": [ "NewComePeople.Person" ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", "consumes": [ "application/json" ], @@ -5019,21 +10646,32 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", - "description": "New entity", + "description": "New navigation property ref value", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { "201": { - "description": "Created entity", + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object" } }, "default": { @@ -5043,13 +10681,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Employee" ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -5105,25 +10743,23 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", - "consumes": [ - "application/json" + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" ], "parameters": [ { @@ -5133,33 +10769,31 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", "parameters": [ { "in": "path", @@ -5168,33 +10802,37 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/BestFriend": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Functions" ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -5208,68 +10846,54 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/NewComePeople/{UserName}/BestFriend/$ref": { - "get": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", "produces": [ "application/json" ], @@ -5281,28 +10905,67 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Success", "schema": { - "type": "string" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "put": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Actions" ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -5318,12 +10981,20 @@ { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } @@ -5336,15 +11007,27 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -5355,30 +11038,48 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -5434,9 +11135,39 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { @@ -5445,13 +11176,13 @@ } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -5479,21 +11210,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -5518,7 +11249,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -5537,21 +11268,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -5592,7 +11323,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -5611,22 +11342,22 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -5671,21 +11402,21 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -5726,94 +11457,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", "produces": [ "application/json" ], @@ -5842,20 +11500,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", "produces": [ "application/json" ], @@ -5871,7 +11529,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "type": "string" } @@ -5880,7 +11538,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -5900,20 +11558,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", "consumes": [ "application/json" ], @@ -5954,7 +11612,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -5974,21 +11632,67 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "NewComePeople.Person.ShareTrip", "consumes": [ "application/json" ], @@ -6034,20 +11738,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", "produces": [ "application/json" ], @@ -6063,7 +11767,7 @@ { "in": "path", "name": "lastName", - "description": "Usage: lastName={lastName}", + "description": "Usage: lastName='{lastName}'", "required": true, "type": "string" } @@ -6089,20 +11793,21 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends": { + "/NewComePeople/{UserName}/Trips": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Trip" ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", "produces": [ "application/json" ], @@ -6137,28 +11842,22 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } @@ -6170,20 +11869,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -6196,9 +11890,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -6208,13 +11900,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -6225,15 +11917,20 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + }, + "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Trip" + ], + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "in": "path", @@ -6244,29 +11941,21 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New navigation property", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } }, "default": { "$ref": "#/responses/error" @@ -6275,13 +11964,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Trips/{TripId}": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Trip" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", "produces": [ "application/json" ], @@ -6296,11 +11986,14 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { "in": "query", @@ -6309,20 +12002,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -6335,9 +12023,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -6345,25 +12031,25 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { "$ref": "#/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Trip" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", + "consumes": [ "application/json" ], "parameters": [ @@ -6377,42 +12063,87 @@ }, { "in": "path", - "name": "UserName1", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ "NewComePeople.Functions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", "produces": [ "application/json" ], @@ -6427,31 +12158,27 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -6462,26 +12189,15 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" + "NewComePeople.Trips.PlanItem" ], + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", "produces": [ "application/json" ], @@ -6496,44 +12212,91 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Employee", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -6543,28 +12306,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" + "NewComePeople.Trips.PlanItem" ], + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", @@ -6576,31 +12327,37 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -6611,24 +12368,57 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Trips.PlanItem" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", "produces": [ "application/json" ], @@ -6643,29 +12433,64 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { - "default": false, - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } } } } @@ -6674,24 +12499,17 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { + "post": { "tags": [ - "Person.Manager" + "NewComePeople.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "consumes": [ + "application/json" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -6706,75 +12524,48 @@ }, { "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Trips/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -6784,84 +12575,152 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "default": { + "$ref": "#/responses/error" } + } + } + }, + "/NewComePeople/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", + "produces": [ + "text/plain" ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved entities", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -6870,25 +12729,14 @@ "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" + } }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", "consumes": [ "application/json" ], @@ -6896,83 +12744,38 @@ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New entity", "required": true, "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created entity", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}": { + "get": { "tags": [ - "NewComePeople.Actions" + "People.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", + "produces": [ "application/json" ], "parameters": [ @@ -6985,61 +12788,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Retrieved entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "patch": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", + "consumes": [ "application/json" ], "parameters": [ @@ -7052,56 +12860,31 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "in": "body", + "name": "body", + "description": "New property values", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "produces": [ - "text/plain" + "delete": { + "tags": [ + "People.Person" ], + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", "parameters": [ { "in": "path", @@ -7110,28 +12893,33 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" } ], "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/People/{UserName}/BestFriend": { "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", "produces": [ "application/json" ], @@ -7144,50 +12932,42 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -7195,18 +12975,9 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { @@ -7214,17 +12985,50 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/People/{UserName}/BestFriend/$ref": { + "get": { "tags": [ - "NewComePeople.Person" + "People.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", - "consumes": [ + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", + "produces": [ "application/json" ], - "produces": [ + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "schema": { + "type": "string" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", + "consumes": [ "application/json" ], "parameters": [ @@ -7239,7 +13043,7 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "New navigation property ref values", "required": true, "schema": { "type": "object", @@ -7250,11 +13054,41 @@ } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" @@ -7263,7 +13097,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -7336,43 +13170,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], @@ -7400,21 +13204,25 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -7458,21 +13266,25 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -7532,22 +13344,26 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -7592,21 +13408,25 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -7647,21 +13467,25 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "People.BestFriend.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "produces": [ "application/json" ], @@ -7674,170 +13498,106 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } }, { "in": "query", - "name": "$expand", - "description": "Expand related entities", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -7847,30 +13607,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "People.BestFriend.Person" ], + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -7881,67 +13631,43 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" ], "parameters": [ { @@ -7951,54 +13677,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Functions" + "People.BestFriend.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -8012,22 +13712,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { + "title": "Collection of links of Person", "type": "object", "properties": { "value": { - "default": false, - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } } } } @@ -8036,24 +13780,17 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "post": { "tags": [ - "NewComePeople.Functions" + "People.BestFriend.Person" + ], + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", + "consumes": [ + "application/json" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", "produces": [ "application/json" ], @@ -8065,37 +13802,41 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Manager" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -8109,54 +13850,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", - "consumes": [ - "application/json" + "People.BestFriend.Person" ], + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -8170,114 +13923,128 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } }, - "default": { - "$ref": "#/responses/error" + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", - "consumes": [ - "application/json" ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, + "responses": { + "200": { + "description": "Retrieved navigation property", "schema": { + "title": "Collection of Person", "type": "object", "properties": { - "hire": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - } + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", - "consumes": [ - "application/json" + "People.BestFriend.Person" ], + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -8288,24 +14055,24 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -8316,26 +14083,15 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -8345,51 +14101,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName='{lastName}'", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Trips": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "NewComePeople.Trip" + "People.BestFriend.Person" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", "produces": [ "application/json" ], @@ -8424,55 +14157,28 @@ "type": "array", "items": { "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -8480,15 +14186,15 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Trip", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -8502,11 +14208,10 @@ }, "post": { "tags": [ - "NewComePeople.Trip" + "People.BestFriend.Person" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -8525,35 +14230,83 @@ { "in": "body", "name": "body", - "description": "New navigation property", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "201": { - "description": "Created navigation property.", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "NewComePeople.Trip" + "People.Functions" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -8568,72 +14321,60 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName={userName}", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -8643,44 +14384,73 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "in": "body", "name": "body", - "description": "New navigation property values", + "description": "Action parameters", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "consumes": [ + "application/json" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "in": "path", @@ -8691,21 +14461,24 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { @@ -8716,16 +14489,28 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -8740,28 +14525,21 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", "type": "object", "properties": { "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "default": false, + "type": "boolean" } } } @@ -8771,15 +14549,27 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "/People/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Person" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "produces": [ "application/json" ], @@ -8792,17 +14582,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "$ref": "#/parameters/top" }, @@ -8825,16 +14604,28 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -8846,11 +14637,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -8862,7 +14662,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -8872,13 +14675,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of PlanItem", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8891,13 +14694,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "/People/{UserName}/Friends/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Person" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", "parameters": [ { "in": "path", @@ -8909,25 +14712,11 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "header", @@ -8953,12 +14742,150 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -8971,36 +14898,65 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", "produces": [ "application/json" ], @@ -9015,63 +14971,44 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -9081,20 +15018,32 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.Actions" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -9106,48 +15055,65 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Trips/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -9157,52 +15123,82 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } }, - "default": { - "$ref": "#/responses/error" + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } - } - } - }, - "/NewComePeople/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", - "produces": [ - "text/plain" ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get Peers from People", + "operationId": "People.Friends.ListPeers", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -9294,7 +15290,7 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", "schema": { "title": "Collection of Person", "type": "object", @@ -9311,55 +15307,21 @@ "default": { "$ref": "#/responses/error" } - } - }, - "post": { - "tags": [ - "People.Person" - ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New entity", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - ], - "responses": { - "201": { - "description": "Created entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/People/{UserName}": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Person" - ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", - "produces": [ - "application/json" + "People.Friends.Person" ], + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.Friends.DeleteRefPeers", "parameters": [ { "in": "path", @@ -9370,85 +15332,32 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { - "tags": [ - "People.Person" - ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", - "consumes": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName2", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "New property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -9460,13 +15369,15 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", "parameters": [ { "in": "path", @@ -9477,79 +15388,98 @@ "x-ms-docs-key-type": "Person" }, { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/BestFriend": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Get ref of Peers from People", + "operationId": "People.Friends.ListRefPeers", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -9557,9 +15487,18 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { @@ -9567,16 +15506,16 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/$ref": { - "get": { + }, + "post": { "tags": [ - "People.Person" + "People.Friends.Person" + ], + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.Friends.CreateRefPeers", + "consumes": [ + "application/json" ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", "produces": [ "application/json" ], @@ -9588,35 +15527,10 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "schema": { - "type": "string" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "put": { - "tags": [ - "People.Person" - ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", - "consumes": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", @@ -9625,7 +15539,7 @@ { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", @@ -9636,22 +15550,29 @@ } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, "x-ms-docs-operation-type": "operation" - }, - "delete": { + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Person" + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -9661,38 +15582,9 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", @@ -9743,7 +15635,7 @@ "200": { "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { @@ -9752,13 +15644,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get DirectReports from People", + "operationId": "People.Friends.ListDirectReports", "produces": [ "application/json" ], @@ -9770,72 +15662,115 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -9845,34 +15780,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "People.Friends.Person" ], + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -9883,71 +15804,51 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName2", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "produces": [ + "text/plain" ], "parameters": [ { @@ -9959,56 +15860,34 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "produces": [ "application/json" ], @@ -10023,21 +15902,73 @@ }, { "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { + "title": "Collection of links of Person", "type": "object", "properties": { "value": { - "default": false, - "type": "boolean" + "type": "array", + "items": { + "type": "string" + } } } } @@ -10046,28 +15977,17 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { + "post": { "tags": [ - "Person.Manager" + "People.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", + "consumes": [ + "application/json" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -10081,66 +16001,47 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -10152,6 +16053,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -10169,8 +16078,8 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -10180,13 +16089,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -10199,6 +16108,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "userName", @@ -10231,8 +16148,8 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -10242,13 +16159,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -10264,6 +16181,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -10309,8 +16234,8 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -10320,14 +16245,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -10340,6 +16265,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -10373,8 +16306,8 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -10384,13 +16317,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -10403,6 +16336,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "lastName", @@ -10432,8 +16373,8 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -10443,13 +16384,43 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends": { + "/People/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ "People.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "produces": [ "application/json" ], @@ -10489,63 +16460,23 @@ "FirstName", "FirstName desc", "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -10553,15 +16484,15 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -10572,15 +16503,19 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + }, + "post": { "tags": [ "People.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -10591,29 +16526,24 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New navigation property ref value", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" @@ -10622,7 +16552,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -10641,14 +16571,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "query", "name": "$select", @@ -10703,15 +16625,12 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -10721,10 +16640,35 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", @@ -10747,8 +16691,8 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -10757,13 +16701,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -10776,14 +16720,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "userName", @@ -10817,8 +16753,8 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -10827,13 +16763,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -10849,14 +16785,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -10903,8 +16831,8 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -10913,14 +16841,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -10933,14 +16861,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -10975,8 +16895,8 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -10985,13 +16905,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -11004,14 +16924,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "lastName", @@ -11042,8 +16954,8 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -11052,7 +16964,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ "Person.Manager" @@ -11071,14 +16983,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "query", "name": "$select", @@ -11133,15 +17037,12 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -11151,10 +17052,35 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", @@ -11178,8 +17104,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -11187,13 +17113,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -11206,14 +17132,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "userName", @@ -11248,8 +17166,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -11257,31 +17175,23 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], "produces": [ "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", @@ -11334,8 +17244,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -11343,14 +17253,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -11363,14 +17273,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -11406,8 +17308,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -11415,13 +17317,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -11434,14 +17336,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "lastName", @@ -11473,8 +17367,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -11482,175 +17376,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/$ref": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.Person" - ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -11723,43 +17449,13 @@ } } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], @@ -11791,21 +17487,21 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -11853,21 +17549,21 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -11931,22 +17627,22 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -11995,21 +17691,21 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -12054,21 +17750,21 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from People", + "operationId": "People.ListPeers", "produces": [ "application/json" ], @@ -12081,39 +17777,87 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } }, { "in": "query", - "name": "$expand", - "description": "Expand related entities", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ - "*", + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", "Friends", "BestFriend", "Trips" @@ -12124,203 +17868,9 @@ ], "responses": { "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -12336,32 +17886,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "People.Person" ], + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.DeleteRefPeers", "parameters": [ { "in": "path", @@ -12372,24 +17910,24 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -12400,30 +17938,15 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -12433,54 +17956,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Person.Employee" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of Peers from People", + "operationId": "People.ListRefPeers", "produces": [ "application/json" ], @@ -12493,67 +17990,132 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.CreateRefPeers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.GetFavoriteAirline", "produces": [ "application/json" ], @@ -12587,19 +18149,19 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.GetFriendsTrips", "produces": [ "application/json" ], @@ -12615,7 +18177,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "type": "string" } @@ -12624,7 +18186,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -12649,19 +18211,19 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.GetPeersForTrip", "consumes": [ "application/json" ], @@ -12702,7 +18264,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -12727,21 +18289,20 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ @@ -12754,56 +18315,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get DirectReports from People", + "operationId": "People.ListDirectReports", "produces": [ "application/json" ], @@ -12817,22 +18388,106 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { + "title": "Collection of Person", "type": "object", "properties": { "value": { - "default": false, - "type": "boolean" + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } } } @@ -12841,30 +18496,67 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.DeleteRefDirectReports", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -12878,37 +18570,24 @@ ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.GetFriendsTrips", + "summary": "Get ref of DirectReports from People", + "operationId": "People.ListRefDirectReports", "produces": [ "application/json" ], @@ -12922,24 +18601,65 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -12949,28 +18669,14 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.GetPeersForTrip", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -12989,130 +18695,28 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } + "x-ms-docs-operation-type": "operation" } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -15810,9 +21414,17 @@ "name": "Me.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "Me.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "Person.Manager" }, + { + "name": "Me.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" @@ -15833,6 +21445,14 @@ "name": "NewComePeople.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "NewComePeople.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "NewComePeople.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "NewComePeople.Trip", "x-ms-docs-toc-type": "page" @@ -15853,6 +21473,14 @@ "name": "People.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "People.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "People.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "People.Trip", "x-ms-docs-toc-type": "page" 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 cd15a279..f8d1636c 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 @@ -826,244 +826,12 @@ paths: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - application/json - parameters: - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/responses/error' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends: + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends + - Me.BestFriend.Person + summary: Get Peers from Me + operationId: Me.BestFriend.ListPeers produces: - application/json parameters: @@ -1147,12 +915,15 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': + x-ms-docs-grouped-path: + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': delete: tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends + - Me.BestFriend.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.BestFriend.DeleteRefPeers parameters: - in: path name: UserName @@ -1174,276 +945,103 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.BestFriend.Person + summary: Get ref of Peers from Me + operationId: Me.BestFriend.ListRefPeers produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Employee + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - Me.BestFriend.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.BestFriend.CreateRefPeers consumes: - application/json produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - Person.Manager @@ -1452,12 +1050,6 @@ paths: produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -1497,14 +1089,104 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: get: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - Me.BestFriend.Person + summary: Get DirectReports from Me + operationId: Me.BestFriend.ListDirectReports produces: - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: + tags: + - Me.BestFriend.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.BestFriend.DeleteRefDirectReports parameters: - in: path name: UserName @@ -1512,6 +1194,124 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: + get: + tags: + - Me.BestFriend.Person + summary: Get ref of DirectReports from Me + operationId: Me.BestFriend.ListRefDirectReports + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.BestFriend.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.BestFriend.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json responses: '200': description: Success @@ -1522,28 +1322,22 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -1565,30 +1359,24 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -1619,29 +1407,23 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -1664,28 +1446,22 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' @@ -1705,32 +1481,19 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/$count: + /Me/Friends: get: - summary: Get the number of the resource - operationId: Get.Count.Friends - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /Me/Friends/$ref: - get: - tags: - - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends + tags: + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends produces: - application/json parameters: @@ -1768,47 +1531,80 @@ paths: - Features - Features desc type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person + title: Collection of Person type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + '/Me/Friends/{UserName}/$ref': + delete: tags: - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends - consumes: - - application/json - produces: - - application/json + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends parameters: - - in: body - name: body - description: New navigation property ref value + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - type: object - additionalProperties: - type: object + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - Person.Employee @@ -1817,6 +1613,12 @@ paths: produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -1856,27 +1658,21 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: '200': description: Success @@ -1888,21 +1684,27 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -1925,23 +1727,29 @@ paths: x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip consumes: - application/json produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -1973,22 +1781,28 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -2012,21 +1826,27 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' @@ -2047,21 +1867,61 @@ paths: x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Me.Friends.Person + summary: Get Peers from Me + operationId: Me.Friends.ListPeers produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - in: query name: $select description: Select properties to be returned @@ -2096,217 +1956,184 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - Me.Friends.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.Friends.DeleteRefPeers + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Peers produces: - text/plain - responses: + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: '200': description: The count of the resource schema: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - Me.Friends.Person + summary: Get ref of Peers from Me + operationId: Me.Friends.ListRefPeers produces: - application/json parameters: - in: path - name: userName - description: 'Usage: userName={userName}' + name: UserName + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Manager + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + - Me.Friends.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.Friends.CreateRefPeers consumes: - application/json produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + additionalProperties: + type: object responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true + '201': + description: Created navigation property link. schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - in: path - name: lastName - description: 'Usage: lastName={lastName}' + name: UserName + description: 'key: UserName of Person' required: true type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -2343,235 +2170,3628 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Me.Friends.Person + summary: Get DirectReports from Me + operationId: Me.Friends.ListDirectReports produces: - application/json parameters: - in: path - name: userName - description: 'Usage: userName={userName}' + name: UserName + description: 'key: UserName of Person' required: true type: string - responses: - '200': - description: Success + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json + - Me.Friends.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.Friends.DeleteRefDirectReports + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - - in: body - name: body - description: Action parameters + - in: path + name: UserName + description: 'key: UserName of Person' required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + get: + tags: + - Me.Friends.Person + summary: Get ref of DirectReports from Me + operationId: Me.Friends.ListRefDirectReports + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Employee + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - Me.Friends.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.Friends.CreateRefDirectReports consumes: - application/json + produces: + - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + additionalProperties: + type: object responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Friends/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Friends/$ref: + get: + tags: + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + get: + tags: + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': + delete: + tags: + - Me.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.DeleteRefPeers + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: + get: + tags: + - Me.Person + summary: Get ref of Peers from Me + operationId: Me.ListRefPeers + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.CreateRefPeers + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: + get: + tags: + - Me.Person + summary: Get DirectReports from Me + operationId: Me.ListDirectReports + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: + tags: + - Me.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.DeleteRefDirectReports + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: + get: + tags: + - Me.Person + summary: Get ref of DirectReports from Me + operationId: Me.ListRefDirectReports + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: + post: + tags: + - Me.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.ShareTrip + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Trips: + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trip + summary: Create new navigation property to Trips for Me + description: Collection of trips. + operationId: Me.CreateTrips + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '201': + description: Created navigation property. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}': + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.GetTrips + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - Me.Trip + summary: Update the navigation property Trips in Me + description: Collection of trips. + operationId: Me.UpdateTrips + consumes: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - Me.Trip + summary: Delete navigation property Trips for Me + description: Collection of trips. + operationId: Me.DeleteTrips + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - Me.Functions + summary: Invoke function GetInvolvedPeople + operationId: Me.Trips.Trip.GetInvolvedPeople + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/Me/Trips/{TripId}/PlanItems': + get: + tags: + - Me.Trips.PlanItem + summary: Get PlanItems from Me + operationId: Me.Trips.ListPlanItems + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - Me.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for Me + operationId: Me.Trips.DeleteRefPlanItems + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + produces: + - text/plain + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/Me/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - Me.Trips.PlanItem + summary: Get ref of PlanItems from Me + operationId: Me.Trips.ListRefPlanItems + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for Me + operationId: Me.Trips.CreateRefPlanItems + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Trips/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /NewComePeople: + get: + tags: + - NewComePeople.Person + summary: Get entities from NewComePeople + operationId: NewComePeople.Person.ListPerson + produces: + - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + post: + tags: + - NewComePeople.Person + summary: Add new entity to NewComePeople + operationId: NewComePeople.Person.CreatePerson + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New entity + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '201': + description: Created entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}': + get: + tags: + - NewComePeople.Person + summary: Get entity from NewComePeople by key + operationId: NewComePeople.Person.GetPerson + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Person + summary: Update entity in NewComePeople + operationId: NewComePeople.Person.UpdatePerson + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete entity from NewComePeople + operationId: NewComePeople.Person.DeletePerson + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend': + get: + tags: + - NewComePeople.Person + summary: Get BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetRefBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - NewComePeople.Person + summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. + operationId: NewComePeople.UpdateRefBestFriend + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref values + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. + operationId: NewComePeople.DeleteRefBestFriend + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' required: true - type: string + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListPeers + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefPeers + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListRefPeers + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefPeers + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips + - NewComePeople.BestFriend.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListDirectReports produces: - application/json parameters: - in: path - name: userName - description: 'Usage: userName=''{userName}''' + name: UserName + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: title: Collection of Person type: object @@ -2579,123 +5799,175 @@ paths: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip - consumes: - - application/json + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefDirectReports + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - - in: body - name: body - description: Action parameters + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - NewComePeople.BestFriend.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListRefDirectReports produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - Me.Functions + - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: '200': description: Success @@ -2705,23 +5977,27 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - - Me.Functions + - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -2742,25 +6018,29 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - Me.Actions + - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -2790,123 +6070,28 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: - post: - tags: - - Me.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - Me.Actions + - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.ShareTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -2928,26 +6113,30 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - - Me.Functions + - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true type: string responses: @@ -2963,24 +6152,27 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Trips: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends': get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips + - NewComePeople.Person + summary: Get Friends from NewComePeople + operationId: NewComePeople.ListFriends produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -2992,22 +6184,28 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - in: query name: $select @@ -3015,15 +6213,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -3032,238 +6235,98 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of Trip + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Trip - summary: Create new navigation property to Trips for Me - description: Collection of trips. - operationId: Me.CreateTrips - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: New navigation property - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '201': - description: Created navigation property. - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}': - get: - tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.GetTrips - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems - type: string - responses: - '200': - description: Retrieved navigation property - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - Me.Trip - summary: Update the navigation property Trips in Me - description: Collection of trips. - operationId: Me.UpdateTrips - consumes: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '204': - description: Success + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': delete: tags: - - Me.Trip - summary: Delete navigation property Trips for Me - description: Collection of trips. - operationId: Me.DeleteTrips + - NewComePeople.Person + summary: Delete ref of navigation property Friends for NewComePeople + operationId: NewComePeople.DeleteRefFriends parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - in: header name: If-Match description: ETag type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Me.Functions - summary: Invoke function GetInvolvedPeople - operationId: Me.Trips.Trip.GetInvolvedPeople + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - responses: - '200': - description: Success - schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - '/Me/Trips/{TripId}/PlanItems': - get: - tags: - - Me.Trips.PlanItem - summary: Get PlanItems from Me - operationId: Me.Trips.ListPlanItems - produces: - - application/json - parameters: + type: string + x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -3272,194 +6335,273 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of PlanItem - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - Me.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for Me - operationId: Me.Trips.DeleteRefPlanItems + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri type: string + x-ms-docs-key-type: Person responses: - '204': + '200': description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - - text/plain + - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - '/Me/Trips/{TripId}/PlanItems/$ref': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - Me.Trips.PlanItem - summary: Get ref of PlanItems from Me - operationId: Me.Trips.ListRefPlanItems + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json produces: - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: Retrieved navigation property links + description: Success schema: - title: Collection of links of PlanItem + title: Collection of Employee type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - Me.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for Me - operationId: Me.Trips.CreateRefPlanItems + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json - produces: - - application/json parameters: - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref value + description: Action parameters required: true schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Trips/$count: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - - text/plain + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - /NewComePeople: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - NewComePeople.Person - summary: Get entities from NewComePeople - operationId: NewComePeople.Person.ListPerson + - NewComePeople.Friends.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.Friends.ListPeers produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -3528,7 +6670,7 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Retrieved navigation property schema: title: Collection of Person type: object @@ -3539,38 +6681,15 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - post: - tags: - - NewComePeople.Person - summary: Add new entity to NewComePeople - operationId: NewComePeople.Person.CreatePerson - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: New entity - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '201': - description: Created entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}': - get: + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': + delete: tags: - - NewComePeople.Person - summary: Get entity from NewComePeople by key - operationId: NewComePeople.Person.GetPerson - produces: - - application/json + - NewComePeople.Friends.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.Friends.DeleteRefPeers parameters: - in: path name: UserName @@ -3578,77 +6697,38 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - NewComePeople.Person - summary: Update entity in NewComePeople - operationId: NewComePeople.Person.UpdatePerson - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: New property values + - in: path + name: UserName2 + description: 'key: UserName of Person' required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Person - summary: Delete entity from NewComePeople - operationId: NewComePeople.Person.DeletePerson + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain parameters: - in: path name: UserName @@ -3656,23 +6736,25 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true type: string + x-ms-docs-key-type: Person responses: - '204': - description: Success + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - NewComePeople.Person - summary: Get BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetBestFriend + - NewComePeople.Friends.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.Friends.ListRefPeers produces: - application/json parameters: @@ -3682,53 +6764,67 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/$ref': - get: + post: tags: - - NewComePeople.Person - summary: Get ref of BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetRefBestFriend + - NewComePeople.Friends.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.Friends.CreateRefPeers + consumes: + - application/json produces: - application/json parameters: @@ -3738,49 +6834,36 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: Retrieved navigation property link - schema: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - put: - tags: - - NewComePeople.Person - summary: Update the ref of navigation property BestFriend in NewComePeople - description: The best friend. - operationId: NewComePeople.UpdateRefBestFriend - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref values + description: New navigation property ref value required: true schema: type: object additionalProperties: type: object responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - delete: + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: tags: - - NewComePeople.Person - summary: Delete ref of navigation property BestFriend for NewComePeople - description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json parameters: - in: path name: UserName @@ -3788,27 +6871,8 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string @@ -3849,15 +6913,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - NewComePeople.Friends.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListDirectReports produces: - application/json parameters: @@ -3867,72 +6931,100 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': + delete: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json + - NewComePeople.Friends.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.Friends.DeleteRefDirectReports parameters: - in: path name: UserName @@ -3940,92 +7032,38 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: UserName2 + description: 'key: UserName of Person' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -4034,35 +7072,24 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: lastName - description: 'Usage: lastName={lastName}' + name: UserName1 + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - NewComePeople.Friends.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListRefDirectReports produces: - application/json parameters: @@ -4072,51 +7099,104 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Friends.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.Friends.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: @@ -4126,6 +7206,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: '200': description: Success @@ -4136,17 +7222,17 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -4156,6 +7242,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -4177,17 +7269,17 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -4199,6 +7291,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -4229,18 +7327,18 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: @@ -4250,6 +7348,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -4272,17 +7376,17 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -4292,6 +7396,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' @@ -4311,17 +7421,37 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends': + '/NewComePeople/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/$ref': get: tags: - NewComePeople.Person - summary: Get Friends from NewComePeople - operationId: NewComePeople.ListFriends + summary: Get ref of Friends from NewComePeople + operationId: NewComePeople.ListRefFriends produces: - application/json parameters: @@ -4365,6 +7495,67 @@ paths: - Features - Features desc type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.Person + summary: Create new navigation property ref to Friends for NewComePeople + operationId: NewComePeople.CreateRefFriends + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -4399,9 +7590,138 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of Person + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName={userName}' + required: true + type: string + responses: + '200': + description: Success + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '200': + description: Success + schema: + title: Collection of Employee type: object properties: value: @@ -4410,13 +7730,23 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Person - summary: Delete ref of navigation property Friends for NewComePeople - operationId: NewComePeople.DeleteRefFriends + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json parameters: - in: path name: UserName @@ -4424,32 +7754,39 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' + - in: body + name: body + description: Action parameters required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: @@ -4460,7 +7797,40 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: UserName1 + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string + responses: + '200': + description: Success + schema: + type: object + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json + parameters: + - in: path + name: UserName description: 'key: UserName of Person' required: true type: string @@ -4501,17 +7871,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -4519,8 +7887,24 @@ paths: required: true type: string x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + produces: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string @@ -4536,16 +7920,16 @@ paths: x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -4555,12 +7939,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -4570,7 +7948,7 @@ paths: '200': description: Success schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -4583,16 +7961,16 @@ paths: x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -4604,12 +7982,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -4628,7 +8000,7 @@ paths: '200': description: Success schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -4641,17 +8013,17 @@ paths: x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: @@ -4661,12 +8033,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -4690,16 +8056,16 @@ paths: x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -4709,102 +8075,36 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + required: true + type: string responses: '200': - description: Result entities + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline produces: - application/json parameters: @@ -4814,12 +8114,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person responses: '200': description: Success @@ -4832,15 +8126,15 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips produces: - application/json parameters: @@ -4850,22 +8144,16 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true type: string responses: '200': description: Success schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -4879,15 +8167,15 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip consumes: - application/json produces: @@ -4899,12 +8187,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -4923,7 +8205,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -4937,16 +8219,16 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': post: tags: - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire consumes: - application/json parameters: @@ -4956,8 +8238,33 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.ShareTrip + consumes: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string @@ -4986,15 +8293,15 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName produces: - application/json parameters: @@ -5004,15 +8311,9 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true type: string responses: @@ -5031,35 +8332,16 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Friends - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/$ref': + '/NewComePeople/{UserName}/Trips': get: tags: - - NewComePeople.Person - summary: Get ref of Friends from NewComePeople - operationId: NewComePeople.ListRefFriends + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips produces: - application/json parameters: @@ -5080,110 +8362,38 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc type: string - responses: - '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.Person - summary: Create new navigation property ref to Friends for NewComePeople - operationId: NewComePeople.CreateRefFriends - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - in: query name: $expand @@ -5192,43 +8402,30 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips + - PlanItems type: string responses: '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource + description: Retrieved navigation property schema: - $ref: '#/definitions/ODataCountResponse' + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + post: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - NewComePeople.Trip + summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.CreateTrips + consumes: + - application/json produces: - application/json parameters: @@ -5238,27 +8435,27 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '200': - description: Success + '201': + description: Created navigation property. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.GetTrips produces: - application/json parameters: @@ -5269,41 +8466,55 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: userName - description: 'Usage: userName={userName}' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + x-ms-docs-operation-type: operation + patch: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - NewComePeople.Trip + summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. + operationId: NewComePeople.UpdateTrips consumes: - application/json - produces: - - application/json parameters: - in: path name: UserName @@ -5311,50 +8522,33 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: Action parameters + description: New navigation property values required: true schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '200': + '204': description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + delete: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json + - NewComePeople.Trip + summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.DeleteTrips parameters: - in: path name: UserName @@ -5362,39 +8556,31 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: TripId + description: 'key: TripId of Trip' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag + type: string responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Invoke function GetInvolvedPeople + operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople produces: - application/json parameters: @@ -5405,35 +8591,34 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: lastName - description: 'Usage: lastName={lastName}' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': description: Success schema: + title: Collection of Trip type: object properties: value: - default: false - type: boolean + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - NewComePeople.Trips.PlanItem + summary: Get PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListPlanItems produces: - application/json parameters: @@ -5443,26 +8628,48 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration type: string - in: query name: $expand @@ -5471,23 +8678,27 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - text/plain + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - NewComePeople.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for NewComePeople + operationId: NewComePeople.Trips.DeleteRefPlanItems parameters: - in: path name: UserName @@ -5495,51 +8706,44 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri type: string - x-ms-docs-key-type: Person responses: - '200': + '204': description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + summary: Get the number of the resource + operationId: Get.Count.PlanItems produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -5548,39 +8752,27 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: userName - description: 'Usage: userName={userName}' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': - description: Success + description: The count of the resource schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + get: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json + - NewComePeople.Trips.PlanItem + summary: Get ref of PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListRefPlanItems produces: - application/json parameters: @@ -5590,50 +8782,60 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: TripId + description: 'key: TripId of Trip' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Manager + title: Collection of links of PlanItem type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + - NewComePeople.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for NewComePeople + operationId: NewComePeople.Trips.CreateRefPlanItems consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -5641,41 +8843,37 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + additionalProperties: + type: object responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Trips produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -5683,83 +8881,104 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + /NewComePeople/$count: get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline + summary: Get the number of the resource + operationId: Get.Count.NewComePeople produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person + - text/plain responses: '200': - description: Success + description: The count of the resource schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + /People: get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips + - People.Person + summary: Get entities from People + operationId: People.Person.ListPerson produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName=''{userName}''' - required: true - type: string + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved entities schema: title: Collection of Person type: object @@ -5767,77 +8986,40 @@ paths: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip + - People.Person + summary: Add new entity to People + operationId: People.Person.CreatePerson consumes: - application/json produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New entity required: true schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: - '200': - description: Success + '201': + description: Created entity schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - NewComePeople.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: + x-ms-docs-operation-type: operation + '/People/{UserName}': + get: + tags: + - People.Person + summary: Get entity from People by key + operationId: People.Person.GetPerson + produces: - application/json parameters: - in: path @@ -5846,28 +9028,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Retrieved entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + patch: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip + - People.Person + summary: Update entity in People + operationId: People.Person.UpdatePerson consumes: - application/json parameters: @@ -5879,39 +9084,21 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New property values required: true schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: + x-ms-docs-operation-type: operation + delete: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName - produces: - - application/json + - People.Person + summary: Delete entity from People + operationId: People.Person.DeletePerson parameters: - in: path name: UserName @@ -5919,37 +9106,23 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' - required: true + - in: header + name: If-Match + description: ETag type: string responses: - '200': + '204': description: Success - schema: - type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Trips': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - People.Person + summary: Get BestFriend from People + description: The best friend. + operationId: People.GetBestFriend produces: - application/json parameters: @@ -5959,49 +9132,26 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -6010,32 +9160,50 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + '/People/{UserName}/BestFriend/$ref': + get: tags: - - NewComePeople.Trip - summary: Create new navigation property to Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.CreateTrips - consumes: - - application/json + - People.Person + summary: Get ref of BestFriend from People + description: The best friend. + operationId: People.GetRefBestFriend produces: - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - People.Person + summary: Update the ref of navigation property BestFriend in People + description: The best friend. + operationId: People.UpdateRefBestFriend + consumes: + - application/json parameters: - in: path name: UserName @@ -6045,25 +9213,47 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New navigation property + description: New navigation property ref values required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + additionalProperties: + type: object + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - People.Person + summary: Delete ref of navigation property BestFriend for People + description: The best friend. + operationId: People.DeleteRefBestFriend + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string responses: - '201': - description: Created navigation property. - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.GetTrips + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -6073,30 +9263,26 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -6105,23 +9291,24 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - NewComePeople.Trip - summary: Update the navigation property Trips in NewComePeople - description: Collection of trips. - operationId: NewComePeople.UpdateTrips - consumes: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + produces: - application/json parameters: - in: path @@ -6130,65 +9317,31 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Trip - summary: Delete navigation property Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.DeleteTrips - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: header - name: If-Match - description: ETag - type: string responses: - '204': + '200': description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - - NewComePeople.Functions - summary: Invoke function GetInvolvedPeople - operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -6199,34 +9352,43 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: userName + description: 'Usage: userName={userName}' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string responses: '200': description: Success schema: - title: Collection of Trip + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': - get: + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Trips.PlanItem - summary: Get PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListPlanItems + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + consumes: + - application/json produces: - application/json parameters: @@ -6236,77 +9398,54 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: Retrieved navigation property + description: Success schema: - title: Collection of PlanItem + title: Collection of Employee type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for NewComePeople - operationId: NewComePeople.Trips.DeleteRefPlanItems + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + consumes: + - application/json parameters: - in: path name: UserName @@ -6314,44 +9453,45 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' + - in: body + name: body + description: Action parameters required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -6360,27 +9500,39 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: lastName + description: 'Usage: lastName={lastName}' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get ref of PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListRefPlanItems + - People.BestFriend.Person + summary: Get Peers from People + operationId: People.BestFriend.ListPeers produces: - application/json parameters: @@ -6390,15 +9542,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -6410,40 +9553,84 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of PlanItem + title: Collection of Person type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + x-ms-docs-grouped-path: + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: tags: - - NewComePeople.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for NewComePeople - operationId: NewComePeople.Trips.CreateRefPlanItems - consumes: - - application/json - produces: - - application/json + - People.BestFriend.Person + summary: Delete ref of navigation property Peers for People + operationId: People.BestFriend.DeleteRefPeers parameters: - in: path name: UserName @@ -6452,56 +9639,38 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Trips - produces: - - text/plain - parameters: - - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + '204': + description: Success default: $ref: '#/responses/error' - /NewComePeople/$count: + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.NewComePeople + operationId: Get.Count.Peers produces: - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -6509,15 +9678,21 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /People: + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - People.Person - summary: Get entities from People - operationId: People.Person.ListPerson + - People.BestFriend.Person + summary: Get ref of Peers from People + operationId: People.BestFriend.ListRefPeers produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -6552,81 +9727,58 @@ paths: - Features - Features desc type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string responses: '200': - description: Retrieved entities + description: Retrieved navigation property links schema: - title: Collection of Person + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/responses/error' + x-ms-docs-operation-type: operation post: tags: - - People.Person - summary: Add new entity to People - operationId: People.Person.CreatePerson + - People.BestFriend.Person + summary: Create new navigation property ref to Peers for People + operationId: People.BestFriend.CreateRefPeers consumes: - application/json produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New entity + description: New navigation property ref value required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + additionalProperties: + type: object responses: '201': - description: Created entity + description: Created navigation property link. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Person - summary: Get entity from People by key - operationId: People.Person.GetPerson + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -6670,67 +9822,17 @@ paths: type: string responses: '200': - description: Retrieved entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - People.Person - summary: Update entity in People - operationId: People.Person.UpdatePerson - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New property values - required: true + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - People.Person - summary: Delete entity from People - operationId: People.Person.DeletePerson - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - People.Person - summary: Get BestFriend from People - description: The best friend. - operationId: People.GetBestFriend + - People.BestFriend.Person + summary: Get DirectReports from People + operationId: People.BestFriend.ListDirectReports produces: - application/json parameters: @@ -6740,6 +9842,40 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - in: query name: $select description: Select properties to be returned @@ -6776,19 +9912,25 @@ paths: '200': description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/$ref': - get: + x-ms-docs-grouped-path: + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - People.Person - summary: Get ref of BestFriend from People - description: The best friend. - operationId: People.GetRefBestFriend - produces: - - application/json + - People.BestFriend.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.BestFriend.DeleteRefDirectReports parameters: - in: path name: UserName @@ -6796,49 +9938,32 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: Retrieved navigation property link - schema: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - put: - tags: - - People.Person - summary: Update the ref of navigation property BestFriend in People - description: The best friend. - operationId: People.UpdateRefBestFriend - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref values - required: true - schema: - type: object - additionalProperties: - type: object + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - delete: - tags: - - People.Person - summary: Delete ref of navigation property BestFriend for People - description: The best friend. - operationId: People.DeleteRefBestFriend + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + produces: + - text/plain parameters: - in: path name: UserName @@ -6846,22 +9971,19 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string responses: - '204': - description: Success + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.BestFriend.Person + summary: Get ref of DirectReports from People + operationId: People.BestFriend.ListRefDirectReports produces: - application/json parameters: @@ -6871,51 +9993,92 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + post: + tags: + - People.BestFriend.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.BestFriend.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: @@ -6934,7 +10097,7 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' @@ -6944,12 +10107,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -6968,7 +10131,7 @@ paths: '200': description: Success schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -6979,7 +10142,7 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -6989,12 +10152,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -7024,7 +10187,7 @@ paths: '200': description: Success schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -7035,7 +10198,7 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' @@ -7045,13 +10208,13 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip consumes: - application/json parameters: @@ -7082,7 +10245,7 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' @@ -7092,12 +10255,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -7125,7 +10288,7 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -7135,12 +10298,140 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Friends': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Person + summary: Get Friends from People + operationId: People.ListFriends + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Friends for People + operationId: People.DeleteRefFriends + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -7150,6 +10441,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -7186,20 +10483,26 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json parameters: - in: path - name: UserName + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 description: 'key: UserName of Person' required: true type: string @@ -7214,7 +10517,7 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' @@ -7223,12 +10526,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -7238,6 +10541,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: userName description: 'Usage: userName={userName}' @@ -7247,7 +10556,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -7259,7 +10568,7 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -7268,12 +10577,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip consumes: - application/json produces: @@ -7285,6 +10594,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -7303,7 +10618,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -7315,7 +10630,7 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' @@ -7324,13 +10639,13 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json parameters: @@ -7340,6 +10655,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body description: Action parameters @@ -7362,7 +10683,7 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' @@ -7371,12 +10692,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: @@ -7386,6 +10707,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: path name: lastName description: 'Usage: lastName={lastName}' @@ -7405,7 +10732,7 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -7414,12 +10741,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - People.Person - summary: Get Friends from People - operationId: People.ListFriends + - People.Friends.Person + summary: Get Peers from People + operationId: People.Friends.ListPeers produces: - application/json parameters: @@ -7429,6 +10756,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -7509,12 +10842,15 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/$ref': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': delete: tags: - - People.Person - summary: Delete ref of navigation property Friends for People - operationId: People.DeleteRefFriends + - People.Friends.Person + summary: Delete ref of navigation property Peers for People + operationId: People.Friends.DeleteRefPeers parameters: - in: path name: UserName @@ -7528,6 +10864,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName2 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: header name: If-Match description: ETag @@ -7542,12 +10884,38 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.Friends.Person + summary: Get ref of Peers from People + operationId: People.Friends.ListRefPeers produces: - application/json parameters: @@ -7563,51 +10931,61 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + post: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - People.Friends.Person + summary: Create new navigation property ref to Peers for People + operationId: People.Friends.CreateRefPeers + consumes: + - application/json produces: - application/json parameters: @@ -7623,31 +11001,28 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -7663,44 +11038,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + get: tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json + - People.Friends.Person + summary: Get DirectReports from People + operationId: People.Friends.ListDirectReports produces: - application/json parameters: @@ -7716,25 +11098,77 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -7743,27 +11177,16 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': + delete: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json + - People.Friends.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.Friends.DeleteRefDirectReports parameters: - in: path name: UserName @@ -7777,45 +11200,32 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: UserName2 + description: 'key: UserName of Person' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -7829,40 +11239,19 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Friends.Person + summary: Get ref of DirectReports from People + operationId: People.Friends.ListRefDirectReports produces: - application/json parameters: @@ -7878,45 +11267,92 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: - '200': - description: Result entities + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Friends.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.Friends.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + type: object default: $ref: '#/responses/error' + x-ms-docs-operation-type: operation '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -9146,24 +12582,270 @@ paths: description: Success schema: type: object - properties: - value: - default: false - type: boolean + properties: + value: + default: false + type: boolean + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + get: + tags: + - People.Person + summary: Get Peers from People + operationId: People.ListPeers + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Peers for People + operationId: People.DeleteRefPeers + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - People.Person + summary: Get ref of Peers from People + operationId: People.ListRefPeers + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to Peers for People + operationId: People.CreateRefPeers + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -9353,6 +13035,252 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + get: + tags: + - People.Person + summary: Get DirectReports from People + operationId: People.ListDirectReports + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.DeleteRefDirectReports + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + get: + tags: + - People.Person + summary: Get ref of DirectReports from People + operationId: People.ListRefDirectReports + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -11233,7 +15161,11 @@ tags: x-ms-docs-toc-type: container - name: Me.Actions x-ms-docs-toc-type: container + - name: Me.BestFriend.Person + x-ms-docs-toc-type: page - name: Person.Manager + - name: Me.Friends.Person + x-ms-docs-toc-type: page - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem @@ -11244,6 +15176,10 @@ tags: x-ms-docs-toc-type: container - name: NewComePeople.Actions x-ms-docs-toc-type: container + - name: NewComePeople.BestFriend.Person + x-ms-docs-toc-type: page + - name: NewComePeople.Friends.Person + x-ms-docs-toc-type: page - name: NewComePeople.Trip x-ms-docs-toc-type: page - name: NewComePeople.Trips.PlanItem @@ -11254,6 +15190,10 @@ tags: x-ms-docs-toc-type: container - name: People.Actions x-ms-docs-toc-type: container + - name: People.BestFriend.Person + x-ms-docs-toc-type: page + - name: People.Friends.Person + x-ms-docs-toc-type: page - name: People.Trip x-ms-docs-toc-type: page - name: People.Trips.PlanItem 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 a8e57ebb..22ed9715 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -1358,14 +1358,67 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "Me.BestFriend.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from Me", + "operationId": "Me.BestFriend.ListPeers", "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -1419,11 +1472,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -1431,28 +1493,71 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Functions" + "Me.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.BestFriend.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -1460,56 +1565,84 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Me.Functions" + "Me.BestFriend.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get ref of Peers from Me", + "operationId": "Me.BestFriend.ListRefPeers", "parameters": [ { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -1521,42 +1654,22 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "Me.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.BestFriend.CreateRefPeers", "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -1564,26 +1677,12 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "type": "object" } } } @@ -1592,101 +1691,75 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -1694,27 +1767,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Friends": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Person" + "Me.BestFriend.Person" ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", + "summary": "Get DirectReports from Me", + "operationId": "Me.BestFriend.ListDirectReports", "parameters": [ { "$ref": "#/components/parameters/top" @@ -1845,15 +1907,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/Me/Friends/{UserName}/$ref": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { "delete": { "tags": [ - "Me.Person" + "Me.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for Me", - "operationId": "Me.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.BestFriend.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -1893,28 +1959,54 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Employee" + "Me.BestFriend.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.BestFriend.ListRefDirectReports", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "$ref": "#/components/parameters/top" }, { - "name": "$select", + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -1923,39 +2015,27 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -1964,11 +2044,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -1976,28 +2065,54 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.BestFriend.CreateRefDirectReports", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -2022,7 +2137,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -2031,24 +2146,14 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "userName", "in": "path", @@ -2065,7 +2170,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -2092,7 +2197,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -2101,25 +2206,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "requestBody": { "description": "Action parameters", "content": { @@ -2148,7 +2241,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -2175,7 +2268,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -2184,26 +2277,14 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "requestBody": { "description": "Action parameters", "content": { @@ -2238,7 +2319,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -2247,24 +2328,14 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "lastName", "in": "path", @@ -2300,7 +2371,7 @@ }, "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -2309,23 +2380,66 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Friends": { "get": { "tags": [ - "Person.Manager" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -2380,11 +2494,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -2392,16 +2515,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/Friends/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Functions" + "Me.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Delete ref of navigation property Friends for Me", + "operationId": "Me.DeleteRefFriends", "parameters": [ { "name": "UserName", @@ -2412,19 +2536,151 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], "nullable": true } } @@ -2439,7 +2695,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -2447,13 +2703,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -2481,7 +2737,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -2509,7 +2765,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -2517,13 +2773,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -2564,7 +2820,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -2592,7 +2848,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -2600,14 +2856,14 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -2655,7 +2911,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -2663,13 +2919,13 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -2717,7 +2973,7 @@ "x-ms-docs-grouped-path": [ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -2725,35 +2981,24 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Friends/$ref": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Me.Person" + "Me.Friends.Person" ], - "summary": "Get ref of Friends from Me", - "operationId": "Me.ListRefFriends", + "summary": "Get Peers from Me", + "operationId": "Me.Friends.ListPeers", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -2806,21 +3051,71 @@ "type": "string" } } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -2834,13 +3129,217 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "Me.Person" + "Me.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for Me", - "operationId": "Me.CreateRefFriends", - "requestBody": { + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.Friends.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.Friends.ListRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.Friends.CreateRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { "description": "New navigation property ref value", "content": { "application/json": { @@ -2872,14 +3371,24 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -2937,28 +3446,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -2969,82 +3457,3986 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Functions" + "Me.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" + "summary": "Get DirectReports from Me", + "operationId": "Me.Friends.ListDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.Friends.DeleteRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Me.Functions" + "Me.Friends.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.Friends.ListRefDirectReports", "parameters": [ { - "name": "userName", + "name": "UserName", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.Friends.CreateRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Friends from Me", + "operationId": "Me.ListRefFriends", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Friends for Me", + "operationId": "Me.CreateRefFriends", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get Peers from Me", + "operationId": "Me.ListPeers", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.ListRefPeers", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.CreateRefPeers", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get DirectReports from Me", + "operationId": "Me.ListDirectReports", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.DeleteRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.ListRefDirectReports", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.CreateRefDirectReports", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "Me.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", + "parameters": [ + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName='{lastName}'", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Trips": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Trip" + ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}": { + "get": { + "tags": [ + "Me.Trip" + ], + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { + "tags": [ + "Me.Trip" + ], + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "Me.Trip" + ], + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "get": { + "tags": [ + "Me.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/Me/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Trips/{TripId}/PlanItems/$ref": { + "get": { + "tags": [ + "Me.Trips.PlanItem" + ], + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -3056,42 +7448,37 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "Me.Trips.PlanItem" + ], + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -3099,129 +7486,34 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "type": "object" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Trips/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -3229,28 +7521,70 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -3304,189 +7638,17 @@ ], "responses": { "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", + "description": "Retrieved entities", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -3497,102 +7659,32 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" + } }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", "requestBody": { - "description": "Action parameters", + "description": "New entity", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, "required": true }, "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created entity", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -3601,27 +7693,27 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -3675,11 +7767,11 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved entity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -3687,159 +7779,200 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { "tags": [ - "Me.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "delete": { "tags": [ - "Me.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", "parameters": [ { - "name": "userName", + "name": "UserName", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend": { + "get": { "tags": [ - "Me.Actions" + "NewComePeople.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } }, - "required": true + "default": { + "$ref": "#/components/responses/error" + } }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property link", "content": { "application/json": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "type": "string" } } } @@ -3848,43 +7981,35 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "put": { "tags": [ - "Me.Actions" + "NewComePeople.Person" + ], + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref values", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -3899,50 +8024,122 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Functions" + "Person.Employee" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { - "name": "lastName", + "name": "UserName", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -3950,27 +8147,28 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -3994,28 +8192,36 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -4028,7 +8234,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -4054,23 +8260,33 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], "requestBody": { "description": "Action parameters", "content": { @@ -4099,7 +8315,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -4125,24 +8341,206 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListPeers", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -4196,11 +8594,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -4208,88 +8615,92 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "Me.Functions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { - "name": "userName", + "name": "UserName", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -4297,67 +8708,94 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { "tags": [ - "Me.Actions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "type": "string" } } } @@ -4369,42 +8807,34 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ - "Me.Actions" + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "hire": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } + "additionalProperties": { + "type": "object" } } } @@ -4412,96 +8842,245 @@ "required": true }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListDirectReports", "parameters": [ { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { + "title": "Collection of Person", "type": "object", "properties": { "value": { - "type": "boolean", - "default": false + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } } } @@ -4512,49 +9091,57 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { "tags": [ - "Me.Actions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { "description": "Success" @@ -4563,50 +9150,32 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "parameters": [ { - "name": "lastName", + "name": "UserName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -4614,29 +9183,27 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Trips": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Me.Trip" + "NewComePeople.BestFriend.Person" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefDirectReports", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -4646,73 +9213,16 @@ { "$ref": "#/components/parameters/search" }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } + { + "$ref": "#/components/parameters/filter" }, { - "name": "$expand", + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Expand related entities", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -4720,8 +9230,28 @@ "type": "array", "items": { "enum": [ - "*", - "PlanItems" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -4730,17 +9260,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -4756,17 +9286,31 @@ }, "post": { "tags": [ - "Me.Trip" + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", "requestBody": { - "description": "New navigation property", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, @@ -4774,11 +9318,11 @@ }, "responses": { "201": { - "description": "Created navigation property.", + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object" } } } @@ -4790,79 +9334,186 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Trips/{TripId}": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "Me.Trip" + "NewComePeople.Functions" ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } } } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -4871,36 +9522,54 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Trip" + "NewComePeople.Actions" ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "New navigation property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, @@ -4914,89 +9583,212 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { "tags": [ - "Me.Trip" + "NewComePeople.Functions" ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "Me.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -5008,70 +9800,92 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" } }, - "/Me/Trips/{TripId}/PlanItems": { - "get": { + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Person" ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/skip" + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/search" + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } }, { - "$ref": "#/components/parameters/filter" + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ { - "$ref": "#/components/parameters/count" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -5084,11 +9898,20 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5105,7 +9928,10 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -5114,20 +9940,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -5135,98 +9952,128 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Functions" ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { - "name": "PlanItemId", + "name": "UserName1", "in": "path", - "description": "key: PlanItemId of PlanItem", + "description": "key: UserName of Person", "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/Me/Trips/{TripId}/PlanItems/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { - "name": "TripId", + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", "in": "path", - "description": "key: TripId of Trip", + "description": "Usage: userName={userName}", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "type": "string" + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } } } } @@ -5234,85 +10081,87 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/Me/Trips/{TripId}/PlanItems/$ref": { - "get": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -5324,37 +10173,63 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "Me.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { - "name": "TripId", + "name": "UserName", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -5362,34 +10237,75 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, - "default": { - "$ref": "#/components/responses/error" + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -5397,17 +10313,46 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -5514,17 +10459,238 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -5535,20 +10701,46 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" }, "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" + ], + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", "requestBody": { - "description": "New entity", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, @@ -5556,11 +10748,11 @@ }, "responses": { "201": { - "description": "Created entity", + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object" } } } @@ -5572,13 +10764,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Manager" ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -5590,6 +10782,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -5643,11 +10845,11 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -5655,15 +10857,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -5674,38 +10877,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -5715,43 +10889,57 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" + "$ref": "#/components/parameters/top" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -5797,58 +10985,29 @@ "*", "Friends", "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "type": "string" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -5859,13 +11018,17 @@ }, "x-ms-docs-operation-type": "operation" }, - "put": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -5876,22 +11039,44 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref values", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { "description": "Success" @@ -5901,14 +11086,12 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -5921,32 +11104,40 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Friends.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -5959,9 +11150,34 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -5970,52 +11186,108 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } } } @@ -6023,19 +11295,30 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { - "name": "UserName", + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -6068,21 +11351,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -6094,6 +11377,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "userName", "in": "path", @@ -6110,7 +11403,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -6136,21 +11429,21 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -6161,6 +11454,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -6191,7 +11494,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -6217,22 +11520,22 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -6243,6 +11546,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -6278,21 +11591,21 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -6304,6 +11617,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "lastName", "in": "path", @@ -6338,21 +11661,202 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Person.Manager" + "Person.Employee" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -6421,7 +11925,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -6432,13 +11936,46 @@ } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -6475,20 +12012,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -6516,7 +12053,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -6543,20 +12080,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -6597,7 +12134,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -6624,21 +12161,21 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -6685,20 +12222,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -6745,20 +12282,20 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Person" + "Person.Manager" ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -6771,24 +12308,9 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", + "name": "$select", "in": "query", - "description": "Order items by property values", + "description": "Select properties to be returned", "style": "form", "explode": false, "schema": { @@ -6797,36 +12319,28 @@ "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } } }, { - "name": "$select", + "name": "$expand", "in": "query", - "description": "Select properties to be returned", + "description": "Expand related entities", "style": "form", "explode": false, "schema": { @@ -6834,17 +12348,7 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", + "*", "Friends", "BestFriend", "Trips" @@ -6852,41 +12356,154 @@ "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -6898,16 +12515,24 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Actions" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -6918,9 +12543,81 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -6928,24 +12625,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -6954,16 +12657,24 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -6976,73 +12687,28 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "lastName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } } } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -7050,16 +12716,25 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -7070,16 +12745,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -7107,19 +12772,19 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -7131,20 +12796,10 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "userName", "in": "path", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" @@ -7157,7 +12812,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -7185,19 +12840,19 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -7208,16 +12863,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -7248,7 +12893,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -7276,20 +12921,20 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ "NewComePeople.Actions" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", "parameters": [ { "name": "UserName", @@ -7300,9 +12945,51 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.ShareTrip", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -7347,19 +13034,19 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -7371,20 +13058,10 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "lastName", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "Usage: lastName='{lastName}'", "required": true, "schema": { "type": "string" @@ -7417,19 +13094,20 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Trips": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Trip" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", "parameters": [ { "name": "UserName", @@ -7442,19 +13120,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "$ref": "#/components/parameters/top" }, { - "name": "$select", + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -7462,29 +13145,31 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } } }, { - "name": "$expand", + "name": "$select", "in": "query", - "description": "Expand related entities", + "description": "Select properties to be returned", "style": "form", "explode": false, "schema": { @@ -7492,74 +13177,55 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } } - ], - "nullable": true + } } } } @@ -7568,24 +13234,15 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "post": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Trip" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", "parameters": [ { "name": "UserName", @@ -7596,48 +13253,26 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -7646,24 +13281,17 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/Trips/{TripId}": { + "get": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Trip" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", "parameters": [ { "name": "UserName", @@ -7676,59 +13304,69 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "x-ms-docs-key-type": "Trip" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -7737,25 +13375,15 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "patch": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Trip" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", "parameters": [ { "name": "UserName", @@ -7768,33 +13396,25 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" + "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property values", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } }, @@ -7808,24 +13428,15 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "delete": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Trip" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "name": "UserName", @@ -7838,97 +13449,45 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" + "x-ms-docs-key-type": "Trip" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Functions" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", "parameters": [ { "name": "UserName", @@ -7941,72 +13500,37 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -8018,65 +13542,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Trips.PlanItem" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", "parameters": [ { "name": "UserName", @@ -8088,6 +13563,60 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -8099,20 +13628,11 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" ], "type": "string" } @@ -8129,10 +13649,7 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "*" ], "type": "string" } @@ -8141,11 +13658,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } } } } @@ -8153,13 +13679,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", "parameters": [ { "name": "UserName", @@ -8170,32 +13700,65 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "parameters": [ { "name": "UserName", @@ -8206,20 +13769,28 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -8227,25 +13798,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Trips.PlanItem" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", "parameters": [ { "name": "UserName", @@ -8258,33 +13820,73 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", + "name": "TripId", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -8296,24 +13898,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Trips.PlanItem" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", "parameters": [ { "name": "UserName", @@ -8324,24 +13916,29 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -8349,26 +13946,12 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "type": "object" } } } @@ -8377,25 +13960,13 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "/NewComePeople/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "parameters": [ { "name": "UserName", @@ -8408,125 +13979,105 @@ "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" } } } }, - "required": true - }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "$ref": "#/components/parameters/top" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "$select", "in": "query", @@ -8580,11 +14131,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -8593,72 +14153,31 @@ "$ref": "#/components/responses/error" } } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + }, + "post": { + "tags": [ + "People.Person" ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", + "requestBody": { + "description": "New entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "required": true + }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created entity", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8667,24 +14186,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", "parameters": [ { "name": "UserName", @@ -8697,117 +14208,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved entity", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8816,25 +14273,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "patch": { "tags": [ - "NewComePeople.Actions" + "People.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", "parameters": [ { "name": "UserName", @@ -8848,22 +14294,11 @@ } ], "requestBody": { - "description": "Action parameters", + "description": "New property values", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, @@ -8877,24 +14312,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "delete": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", "parameters": [ { "name": "UserName", @@ -8907,54 +14332,33 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", "parameters": [ { "name": "UserName", @@ -8965,20 +14369,65 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8987,24 +14436,17 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/People/{UserName}/BestFriend/$ref": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", "parameters": [ { "name": "UserName", @@ -9015,64 +14457,32 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName='{userName}'", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property link", "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "type": "string" } } } }, "default": { "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { "tags": [ - "NewComePeople.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", "parameters": [ { "name": "UserName", @@ -9086,21 +14496,13 @@ } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref values", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -9108,53 +14510,22 @@ "required": true }, "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { + "delete": { "tags": [ - "NewComePeople.Actions" + "People.Person" ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", "parameters": [ { "name": "UserName", @@ -9165,29 +14536,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hire": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - }, - "required": true - }, "responses": { "204": { "description": "Success" @@ -9196,17 +14554,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { "tags": [ - "NewComePeople.Actions" + "Person.Employee" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -9217,56 +14574,136 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } }, - "required": true - }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "NewComePeople.Functions" + "People.Functions" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -9279,9 +14716,9 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", + "name": "userName", "in": "path", - "description": "Usage: lastName='{lastName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -9294,11 +14731,19 @@ "content": { "application/json": { "schema": { + "title": "Collection of Employee", "type": "object", "properties": { "value": { - "type": "boolean", - "default": false + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } } } } @@ -9312,22 +14757,25 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Trips": { - "get": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -9338,111 +14786,48 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - } - ], + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -9454,15 +14839,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Trip" + "People.Actions" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -9476,23 +14875,91 @@ } ], "requestBody": { - "description": "New navigation property", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } - }, - "required": true - }, + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { - "201": { - "description": "Created navigation property.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -9501,17 +14968,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "NewComePeople.Trip" + "People.BestFriend.Person" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "parameters": [ { "name": "UserName", @@ -9524,17 +15002,57 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -9547,15 +15065,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -9573,7 +15096,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -9586,7 +15111,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -9597,13 +15131,18 @@ }, "x-ms-docs-operation-type": "operation" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Trip" + "People.BestFriend.Person" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -9616,50 +15155,7 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", - "parameters": [ - { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -9668,19 +15164,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, { "name": "If-Match", "in": "header", @@ -9688,6 +15171,14 @@ "schema": { "type": "string" } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } } ], "responses": { @@ -9701,13 +15192,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -9718,42 +15206,15 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -9761,17 +15222,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" + } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.BestFriend.Person" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "parameters": [ { "name": "UserName", @@ -9783,19 +15243,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, { "$ref": "#/components/parameters/top" }, @@ -9822,54 +15269,28 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -9878,17 +15299,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "type": "string" } } } @@ -9901,15 +15322,13 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + }, + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -9920,53 +15339,32 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", - "in": "path", - "description": "key: PlanItemId of PlanItem", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -9975,10 +15373,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -9991,26 +15392,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Result entities", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -10021,13 +15459,13 @@ } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.BestFriend.Person" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "parameters": [ { "name": "UserName", @@ -10037,20 +15475,7 @@ "schema": { "type": "string" }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { "$ref": "#/components/parameters/top" @@ -10078,16 +15503,78 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -10096,17 +15583,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -10120,12 +15607,18 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Trips.PlanItem" + "People.BestFriend.Person" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -10138,43 +15631,35 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -10183,10 +15668,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -10216,35 +15701,24 @@ } } }, - "/NewComePeople/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -10297,71 +15771,21 @@ "type": "string" } } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } } ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -10372,20 +15796,36 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" }, "post": { "tags": [ - "People.Person" + "People.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", "requestBody": { - "description": "New entity", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, @@ -10393,11 +15833,11 @@ }, "responses": { "201": { - "description": "Created entity", + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object" } } } @@ -10409,13 +15849,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -10426,65 +15866,177 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } + } } } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved entity", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -10493,14 +16045,29 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Person" + "People.Actions" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -10514,11 +16081,22 @@ } ], "requestBody": { - "description": "New property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, @@ -10532,14 +16110,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -10552,33 +16144,58 @@ "x-ms-docs-key-type": "Person" }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/BestFriend": { + "/People/{UserName}/Friends": { "get": { "tags": [ "People.Person" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "parameters": [ { "name": "UserName", @@ -10590,6 +16207,59 @@ }, "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -10647,7 +16317,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -10659,14 +16338,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/$ref": { - "get": { + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ "People.Person" ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", "parameters": [ { "name": "UserName", @@ -10677,35 +16355,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "content": { - "application/json": { - "schema": { - "type": "string" - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "put": { - "tags": [ - "People.Person" - ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -10713,54 +16365,19 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref values", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } }, { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } @@ -10777,7 +16394,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -10795,6 +16412,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -10863,13 +16490,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -10880,6 +16507,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -10905,8 +16542,8 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -10917,13 +16554,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -10935,6 +16572,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "userName", "in": "path", @@ -10977,8 +16624,8 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -10989,13 +16636,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -11006,6 +16653,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -11062,8 +16719,8 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -11074,14 +16731,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -11092,6 +16749,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -11127,8 +16794,8 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -11139,13 +16806,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -11157,6 +16824,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "lastName", "in": "path", @@ -11191,8 +16868,8 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -11203,13 +16880,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "People.Friends.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from People", + "operationId": "People.Friends.ListPeers", "parameters": [ { "name": "UserName", @@ -11221,6 +16898,69 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -11274,11 +17014,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -11286,16 +17035,84 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.Friends.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -11306,50 +17123,42 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } }, "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "$ref": "#/components/responses/error" + } + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get ref of Peers from People", + "operationId": "People.Friends.ListRefPeers", "parameters": [ { "name": "UserName", @@ -11362,33 +17171,82 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", + "name": "UserName1", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -11400,28 +17258,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "People.Friends.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.Friends.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -11432,24 +17276,26 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -11457,26 +17303,12 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "type": "object" } } } @@ -11485,29 +17317,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -11518,63 +17337,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -11584,28 +17349,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -11613,29 +17413,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Friends": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get DirectReports from People", + "operationId": "People.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -11647,6 +17434,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -11776,15 +17573,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/People/{UserName}/Friends/{UserName1}/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { "delete": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -11806,6 +17607,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "If-Match", "in": "header", @@ -11834,13 +17645,56 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Employee" + "People.Friends.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -11863,9 +17717,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -11874,52 +17743,108 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } } } @@ -11927,16 +17852,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -11984,7 +17910,7 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -11994,13 +17920,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -12038,7 +17964,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -12066,7 +17992,7 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -12076,13 +18002,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -12133,7 +18059,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -12161,7 +18087,7 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -12171,14 +18097,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -12236,7 +18162,7 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -12246,13 +18172,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -12310,7 +18236,7 @@ "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -12320,13 +18246,46 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "Person.Manager" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "parameters": [ { "name": "UserName", @@ -12339,7 +18298,145 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -12405,7 +18502,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -12416,13 +18513,10 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -12433,9 +18527,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -12471,7 +18591,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -12480,26 +18600,16 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -12524,7 +18634,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -12553,7 +18663,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -12562,13 +18672,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -12579,16 +18689,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -12619,7 +18719,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -12648,7 +18748,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -12657,14 +18757,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -12675,16 +18775,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -12720,229 +18810,25 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/People/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/$ref": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { "tags": [ - "People.Person" + "People.Functions" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -12953,29 +18839,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "type": "object" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -12984,16 +18871,28 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -13062,7 +18961,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -13073,10 +18972,10 @@ } } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -13106,13 +19005,13 @@ } } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -13152,7 +19051,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", @@ -13160,13 +19059,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -13194,7 +19093,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -13224,7 +19123,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", @@ -13232,13 +19131,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -13279,7 +19178,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -13309,7 +19208,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", @@ -13317,14 +19216,14 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -13374,7 +19273,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", @@ -13382,13 +19281,13 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -13438,7 +19337,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", @@ -13446,13 +19345,153 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "Person.Manager" + "People.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -13465,63 +19504,36 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } } } } @@ -13529,13 +19541,29 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -13548,13 +19576,49 @@ "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -13562,16 +19626,30 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "People.Functions" + "People.Actions" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -13584,48 +19662,58 @@ "x-ms-docs-key-type": "Person" } ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -13638,9 +19726,9 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", + "name": "lastName", "in": "path", - "description": "Usage: userName={userName}", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" @@ -13653,19 +19741,11 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } + "properties": { + "value": { + "type": "boolean", + "default": false } } } @@ -13679,25 +19759,25 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Get Peers from People", + "operationId": "People.ListPeers", "parameters": [ { "name": "UserName", @@ -13708,48 +19788,124 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -13761,29 +19917,20 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -13794,30 +19941,34 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { "description": "Success" @@ -13826,28 +19977,13 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -13858,30 +19994,15 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -13889,29 +20010,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Person.Employee" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of Peers from People", + "operationId": "People.ListRefPeers", "parameters": [ { "name": "UserName", @@ -13924,9 +20032,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -13935,52 +20058,98 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.CreateRefPeers", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } } } @@ -13988,16 +20157,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -14039,19 +20209,19 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -14066,7 +20236,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" @@ -14079,7 +20249,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -14111,19 +20281,19 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -14164,7 +20334,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -14190,90 +20360,25 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -14286,28 +20391,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -14315,29 +20455,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.GetFavoriteAirline", + "summary": "Get DirectReports from People", + "operationId": "People.ListDirectReports", "parameters": [ { "name": "UserName", @@ -14348,20 +20475,127 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } - ], - "nullable": true + } } } } @@ -14370,28 +20604,20 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { - "get": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.GetFriendsTrips", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -14400,70 +20626,51 @@ "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } }, { - "name": "userName", - "in": "path", - "description": "Usage: userName='{userName}'", - "required": true, + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -14476,49 +20683,13 @@ "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -14526,29 +20697,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Manager" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get ref of DirectReports from People", + "operationId": "People.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -14561,9 +20719,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -14572,52 +20745,98 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.CreateRefDirectReports", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object" } } } @@ -14625,7 +20844,8 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { @@ -17857,9 +24077,17 @@ "name": "Me.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "Me.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "Person.Manager" }, + { + "name": "Me.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" @@ -17880,6 +24108,14 @@ "name": "NewComePeople.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "NewComePeople.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "NewComePeople.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "NewComePeople.Trip", "x-ms-docs-toc-type": "page" @@ -17900,6 +24136,14 @@ "name": "People.Actions", "x-ms-docs-toc-type": "container" }, + { + "name": "People.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "People.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "People.Trip", "x-ms-docs-toc-type": "page" 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 9e674a48..6032f7d0 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -911,256 +911,12 @@ paths: - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends: + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends + - Me.BestFriend.Person + summary: Get Peers from Me + operationId: Me.BestFriend.ListPeers parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -1256,12 +1012,15 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': + x-ms-docs-grouped-path: + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': delete: tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends + - Me.BestFriend.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.BestFriend.DeleteRefPeers parameters: - name: UserName in: path @@ -1286,20 +1045,111 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + summary: Get the number of the resource + operationId: Get.Count.Peers + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: + get: + tags: + - Me.BestFriend.Person + summary: Get ref of Peers from Me + operationId: Me.BestFriend.ListRefPeers parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.BestFriend.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.BestFriend.CreateRefPeers + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: - name: $select in: query description: Select properties to be returned @@ -1346,50 +1196,119 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: get: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - Me.BestFriend.Person + summary: Get DirectReports from Me + operationId: Me.BestFriend.ListDirectReports parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Me.BestFriend.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.BestFriend.DeleteRefDirectReports parameters: - name: UserName in: path @@ -1398,53 +1317,193 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri schema: type: string responses: - '200': + '204': description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + responses: + '200': + description: The count of the resource content: - application/json: + text/plain: schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: + get: + tags: + - Me.BestFriend.Person + summary: Get ref of DirectReports from Me + operationId: Me.BestFriend.ListRefDirectReports + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.BestFriend.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.BestFriend.CreateRefDirectReports + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip requestBody: description: Action parameters content: @@ -1466,7 +1525,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -1480,28 +1539,20 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip requestBody: description: Action parameters content: @@ -1525,27 +1576,20 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' @@ -1568,27 +1612,58 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + /Me/Friends: get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - name: $select in: query description: Select properties to be returned @@ -1631,19 +1706,26 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/$ref': + delete: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - Me.Person + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends parameters: - name: UserName in: path @@ -1652,8 +1734,101 @@ paths: schema: type: string x-ms-docs-key-type: Person - responses: - '200': + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': description: Success content: application/json: @@ -1667,18 +1842,18 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -1699,7 +1874,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -1714,18 +1889,18 @@ paths: x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -1755,7 +1930,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -1770,19 +1945,19 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -1815,18 +1990,18 @@ paths: x-ms-docs-grouped-path: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -1858,32 +2033,26 @@ paths: x-ms-docs-grouped-path: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Friends - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /Me/Friends/$ref: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends + - Me.Friends.Person + summary: Get Peers from Me + operationId: Me.Friends.ListPeers parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -1922,53 +2091,6 @@ paths: - Features - Features desc type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - name: $select in: query description: Select properties to be returned @@ -2011,17 +2133,72 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - Me.Friends.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.Friends.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -2031,201 +2208,120 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Me.Friends.Person + summary: Get ref of Peers from Me + operationId: Me.Friends.ListRefPeers parameters: - - name: userName + - name: UserName in: path - description: 'Usage: userName={userName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Employee + title: Collection of links of Person type: object properties: value: type: array items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - Me.Friends.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.Friends.CreateRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New navigation property ref value content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee + additionalProperties: type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -2275,214 +2371,58 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - Me.Friends.Person + summary: Get DirectReports from Me + operationId: Me.Friends.ListDirectReports parameters: - - name: userName + - name: UserName in: path - description: 'Usage: userName={userName}' + description: 'key: UserName of Person' required: true schema: type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - name: $select in: query description: Select properties to be returned @@ -2525,63 +2465,246 @@ paths: type: string responses: '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success + description: Retrieved navigation property content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Me.Friends.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.Friends.DeleteRefDirectReports parameters: - - name: userName + - name: UserName in: path - description: 'Usage: userName={userName}' + description: 'key: UserName of Person' required: true schema: type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + get: + tags: + - Me.Friends.Person + summary: Get ref of DirectReports from Me + operationId: Me.Friends.ListRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Friends.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.Friends.CreateRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: type: array items: anyOf: @@ -2594,17 +2717,25 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -2626,7 +2757,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -2642,18 +2773,26 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -2679,18 +2818,25 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' @@ -2715,132 +2861,115 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Friends/$count: get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline + summary: Get the number of the resource + operationId: Get.Count.Friends responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + /Me/Friends/$ref: get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends parameters: - - name: userName - in: path - description: 'Usage: userName=''{userName}''' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Person + title: Collection of links of Person type: object properties: value: type: array items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends requestBody: - description: Action parameters + description: New navigation property ref value content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + additionalProperties: + type: object required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: - title: Collection of Person type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + x-ms-docs-operation-type: operation + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: $select in: query @@ -2888,15 +3017,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline responses: '200': description: Success @@ -2914,16 +3056,16 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: userName in: path @@ -2937,7 +3079,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -2954,16 +3096,16 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip requestBody: description: Action parameters content: @@ -2985,7 +3127,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -3002,42 +3144,17 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: - post: - tags: - - Me.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - hire: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip requestBody: description: Action parameters content: @@ -3064,16 +3181,16 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: lastName in: path @@ -3100,56 +3217,1405 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: lastName - in: path + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + get: + tags: + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': + delete: + tags: + - Me.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: + get: + tags: + - Me.Person + summary: Get ref of Peers from Me + operationId: Me.ListRefPeers + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.CreateRefPeers + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName=''{userName}''' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: + get: + tags: + - Me.Person + summary: Get DirectReports from Me + operationId: Me.ListDirectReports + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: + tags: + - Me.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.DeleteRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: + get: + tags: + - Me.Person + summary: Get ref of DirectReports from Me + operationId: Me.ListRefDirectReports + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.CreateRefDirectReports + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + get: + tags: + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: + post: + tags: + - Me.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + post: + tags: + - Me.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: Me.ShareTrip + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - Me.Functions + summary: Invoke function UpdatePersonLastName + operationId: Me.UpdatePersonLastName + parameters: + - name: lastName + in: path description: 'Usage: lastName=''{lastName}''' required: true schema: @@ -3169,22 +4635,2502 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Trips: + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + /Me/Trips: + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trip + summary: Create new navigation property to Trips for Me + description: Collection of trips. + operationId: Me.CreateTrips + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}': + get: + tags: + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.GetTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - Me.Trip + summary: Update the navigation property Trips in Me + description: Collection of trips. + operationId: Me.UpdateTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - Me.Trip + summary: Delete navigation property Trips for Me + description: Collection of trips. + operationId: Me.DeleteTrips + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - Me.Functions + summary: Invoke function GetInvolvedPeople + operationId: Me.Trips.Trip.GetInvolvedPeople + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + '/Me/Trips/{TripId}/PlanItems': + get: + tags: + - Me.Trips.PlanItem + summary: Get PlanItems from Me + operationId: Me.Trips.ListPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: + tags: + - Me.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for Me + operationId: Me.Trips.DeleteRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: PlanItemId + in: path + description: 'key: PlanItemId of PlanItem' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: PlanItem + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/PlanItems/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.PlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/Me/Trips/{TripId}/PlanItems/$ref': + get: + tags: + - Me.Trips.PlanItem + summary: Get ref of PlanItems from Me + operationId: Me.Trips.ListRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of PlanItem + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for Me + operationId: Me.Trips.CreateRefPlanItems + parameters: + - name: TripId + in: path + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Trips/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Trips + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /NewComePeople: + get: + tags: + - NewComePeople.Person + summary: Get entities from NewComePeople + operationId: NewComePeople.Person.ListPerson + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entities + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + post: + tags: + - NewComePeople.Person + summary: Add new entity to NewComePeople + operationId: NewComePeople.Person.CreatePerson + requestBody: + description: New entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '201': + description: Created entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}': + get: + tags: + - NewComePeople.Person + summary: Get entity from NewComePeople by key + operationId: NewComePeople.Person.GetPerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - NewComePeople.Person + summary: Update entity in NewComePeople + operationId: NewComePeople.Person.UpdatePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New property values + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete entity from NewComePeople + operationId: NewComePeople.Person.DeletePerson + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend': + get: + tags: + - NewComePeople.Person + summary: Get BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/$ref': + get: + tags: + - NewComePeople.Person + summary: Get ref of BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + content: + application/json: + schema: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - NewComePeople.Person + summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. + operationId: NewComePeople.UpdateRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref values + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. + operationId: NewComePeople.DeleteRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: + tags: + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + get: + tags: + - NewComePeople.BestFriend.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends': + get: + tags: + - NewComePeople.Person + summary: Get Friends from NewComePeople + operationId: NewComePeople.ListFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property Friends for NewComePeople + operationId: NewComePeople.DeleteRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips + - NewComePeople.Friends.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.Friends.ListPeers parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -3200,22 +7146,28 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - name: $select in: query @@ -3227,15 +7179,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -3248,65 +7205,235 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': + delete: + tags: + - NewComePeople.Friends.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.Friends.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName2 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - NewComePeople.Friends.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.Friends.ListRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Trip + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: tags: - - Me.Trip - summary: Create new navigation property to Trips for Me - description: Collection of trips. - operationId: Me.CreateTrips + - NewComePeople.Friends.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.Friends.CreateRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: - description: New navigation property + description: New navigation property ref value content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + additionalProperties: + type: object required: true responses: '201': - description: Created navigation property. + description: Created navigation property link. content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.GetTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -3317,15 +7444,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -3338,128 +7470,229 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + get: tags: - - Me.Trip - summary: Update the navigation property Trips in Me - description: Collection of trips. - operationId: Me.UpdateTrips + - NewComePeople.Friends.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListDirectReports parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - required: true + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': delete: tags: - - Me.Trip - summary: Delete navigation property Trips for Me - description: Collection of trips. - operationId: Me.DeleteTrips + - NewComePeople.Friends.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.Friends.DeleteRefDirectReports parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName2 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: If-Match in: header description: ETag schema: type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: - tags: - - Me.Functions - summary: Invoke function GetInvolvedPeople - operationId: Me.Trips.Trip.GetInvolvedPeople + summary: Get the number of the resource + operationId: Get.Count.DirectReports parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/Me/Trips/{TripId}/PlanItems': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Me.Trips.PlanItem - summary: Get PlanItems from Me - operationId: Me.Trips.ListPlanItems + - NewComePeople.Friends.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListRefDirectReports parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -3475,226 +7708,347 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links content: application/json: schema: - title: Collection of PlanItem + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + post: tags: - - Me.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for Me - operationId: Me.Trips.DeleteRefPlanItems + - NewComePeople.Friends.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.Friends.CreateRefDirectReports parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: PlanItemId + type: string + x-ms-docs-key-type: Person + - name: UserName1 in: path - description: 'key: PlanItemId of PlanItem' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: PlanItem - - name: If-Match - in: header - description: ETag + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: type: string - - name: '@id' - in: query - description: Delete Uri + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true schema: type: string + x-ms-docs-key-type: Person responses: - '204': + '200': description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/$count': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true + schema: + type: string responses: '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - '/Me/Trips/{TripId}/PlanItems/$ref': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - Me.Trips.PlanItem - summary: Get ref of PlanItems from Me - operationId: Me.Trips.ListRefPlanItems + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved navigation property links + description: Success content: application/json: schema: - title: Collection of links of PlanItem + title: Collection of Manager type: object properties: value: type: array items: - type: string + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - Me.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for Me - operationId: Me.Trips.CreateRefPlanItems + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - - name: TripId + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: - description: New navigation property ref value + description: Action parameters content: application/json: schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '201': - description: Created navigation property link. + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true + schema: + type: string + responses: + '200': + description: Success content: application/json: schema: type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Trips/$count: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Friends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -3704,54 +8058,28 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /NewComePeople: + '/NewComePeople/{UserName}/Friends/$ref': get: tags: - NewComePeople.Person - summary: Get entities from NewComePeople - operationId: NewComePeople.Person.ListPerson + summary: Get ref of Friends from NewComePeople + operationId: NewComePeople.ListRefFriends parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -3760,78 +8088,82 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Retrieved entities + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Person + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation post: tags: - NewComePeople.Person - summary: Add new entity to NewComePeople - operationId: NewComePeople.Person.CreatePerson + summary: Create new navigation property ref to Friends for NewComePeople + operationId: NewComePeople.CreateRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: - description: New entity + description: New navigation property ref value content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + additionalProperties: + type: object required: true responses: '201': - description: Created entity + description: Created navigation property link. content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Person - summary: Get entity from NewComePeople by key - operationId: NewComePeople.Person.GetPerson + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -3882,19 +8214,17 @@ paths: type: string responses: '200': - description: Retrieved entity + description: Result entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - NewComePeople.Person - summary: Update entity in NewComePeople - operationId: NewComePeople.Person.UpdatePerson + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -3903,24 +8233,21 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New property values - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - required: true responses: - '204': - description: Success + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: tags: - - NewComePeople.Person - summary: Delete entity from NewComePeople - operationId: NewComePeople.Person.DeletePerson + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -3929,24 +8256,31 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - - NewComePeople.Person - summary: Get BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetBestFriend + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -3955,63 +8289,43 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string responses: '200': - description: Retrieved navigation property + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/$ref': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - NewComePeople.Person - summary: Get ref of BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetRefBestFriend + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -4020,22 +8334,53 @@ paths: schema: type: string x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved navigation property link + description: Success content: application/json: schema: - type: string + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - put: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - NewComePeople.Person - summary: Update the ref of navigation property BestFriend in NewComePeople - description: The best friend. - operationId: NewComePeople.UpdateRefBestFriend + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -4045,26 +8390,39 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: New navigation property ref values + description: Action parameters content: application/json: schema: type: object - additionalProperties: - type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: tags: - - NewComePeople.Person - summary: Delete ref of navigation property BestFriend for NewComePeople - description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -4073,23 +8431,39 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -4144,15 +8518,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -4174,18 +8569,18 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -4206,7 +8601,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -4219,18 +8614,18 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -4260,7 +8655,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -4273,19 +8668,19 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -4316,18 +8711,18 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - name: UserName in: path @@ -4357,81 +8752,18 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline parameters: - name: UserName in: path @@ -4454,17 +8786,17 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips parameters: - name: UserName in: path @@ -4475,7 +8807,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true schema: type: string @@ -4485,7 +8817,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -4499,17 +8831,17 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip parameters: - name: UserName in: path @@ -4539,7 +8871,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -4553,18 +8885,51 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: NewComePeople.Person.ShareTrip parameters: - name: UserName in: path @@ -4596,17 +8961,17 @@ paths: x-ms-docs-operation-type: action x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName parameters: - name: UserName in: path @@ -4617,7 +8982,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string @@ -4637,17 +9002,18 @@ paths: x-ms-docs-operation-type: function x-ms-docs-grouped-path: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends': + '/NewComePeople/{UserName}/Trips': get: tags: - - NewComePeople.Person - summary: Get Friends from NewComePeople - operationId: NewComePeople.ListFriends + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips parameters: - name: UserName in: path @@ -4671,28 +9037,22 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc type: string - name: $select in: query @@ -4704,20 +9064,15 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - name: $expand in: query @@ -4730,9 +9085,7 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips + - PlanItems type: string responses: '200': @@ -4740,22 +9093,22 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Trip type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': - delete: + post: tags: - - NewComePeople.Person - summary: Delete ref of navigation property Friends for NewComePeople - operationId: NewComePeople.DeleteRefFriends + - NewComePeople.Trip + summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.CreateTrips parameters: - name: UserName in: path @@ -4764,35 +9117,30 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + required: true responses: - '204': - description: Success + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/NewComePeople/{UserName}/Trips/{TripId}': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.GetTrips parameters: - name: UserName in: path @@ -4801,13 +9149,16 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' required: true schema: - type: string - x-ms-docs-key-type: Person + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip - name: $select in: query description: Select properties to be returned @@ -4818,143 +9169,45 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - '*' + - PlanItems + type: string responses: '200': - description: Success + description: Retrieved navigation property content: application/json: schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + x-ms-docs-operation-type: operation + patch: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - NewComePeople.Trip + summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. + operationId: NewComePeople.UpdateTrips parameters: - name: UserName in: path @@ -4963,60 +9216,35 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' required: true schema: - type: string - x-ms-docs-key-type: Person + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip requestBody: - description: Action parameters + description: New navigation property values content: application/json: schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' required: true responses: - '200': + '204': description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + delete: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - NewComePeople.Trip + summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.DeleteTrips parameters: - name: UserName in: path @@ -5025,47 +9253,33 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: If-Match + in: header + description: ETag schema: type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': get: tags: - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Invoke function GetInvolvedPeople + operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople parameters: - name: UserName in: path @@ -5074,46 +9288,40 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName + - name: TripId in: path - description: 'Usage: lastName={lastName}' + description: 'key: TripId of Trip' required: true schema: - type: string + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip responses: '200': description: Success content: application/json: schema: + title: Collection of Trip type: object properties: value: - type: boolean - default: false + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - NewComePeople.Trips.PlanItem + summary: Get PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListPlanItems parameters: - name: UserName in: path @@ -5122,13 +9330,42 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' required: true schema: - type: string - x-ms-docs-key-type: Person + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string - name: $select in: query description: Select properties to be returned @@ -5139,20 +9376,11 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration type: string - name: $expand in: query @@ -5165,25 +9393,29 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - NewComePeople.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for NewComePeople + operationId: NewComePeople.Trips.DeleteRefPlanItems parameters: - name: UserName in: path @@ -5192,38 +9424,46 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' + required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - name: PlanItemId + in: path + description: 'key: PlanItemId of PlanItem' required: true + schema: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: PlanItem + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri schema: type: string - x-ms-docs-key-type: Person responses: - '200': + '204': description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + summary: Get the number of the resource + operationId: Get.Count.PlanItems parameters: - name: UserName in: path @@ -5232,50 +9472,31 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName + - name: TripId in: path - description: 'Usage: userName={userName}' + description: 'key: TripId of Trip' required: true schema: - type: string + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + get: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + - NewComePeople.Trips.PlanItem + summary: Get ref of PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListRefPlanItems parameters: - name: UserName in: path @@ -5284,155 +9505,104 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + - name: TripId in: path - description: 'key: UserName of Person' + description: 'key: TripId of Trip' required: true schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Manager + title: Collection of links of PlanItem type: object properties: value: type: array items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 + - NewComePeople.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for NewComePeople + operationId: NewComePeople.Trips.CreateRefPlanItems + parameters: + - name: UserName in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - - name: lastName + - name: TripId in: path - description: 'Usage: lastName={lastName}' + description: 'key: TripId of Trip' required: true schema: - type: string + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + x-ms-docs-key-type: Trip + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/$count': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Trips parameters: - name: UserName in: path @@ -5450,20 +9620,26 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/$ref': + /NewComePeople/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.NewComePeople + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /People: get: tags: - - NewComePeople.Person - summary: Get ref of Friends from NewComePeople - operationId: NewComePeople.ListRefFriends + - People.Person + summary: Get entities from People + operationId: People.Person.ListPerson parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -5502,68 +9678,6 @@ paths: - Features - Features desc type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.Person - summary: Create new navigation property ref to Friends for NewComePeople - operationId: NewComePeople.CreateRefFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -5606,118 +9720,47 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved entities content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + post: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + - People.Person + summary: Add new entity to People + operationId: People.Person.CreatePerson + requestBody: + description: New entity + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + required: true responses: - '200': - description: Success + '201': + description: Created entity content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/People/{UserName}': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - People.Person + summary: Get entity from People by key + operationId: People.Person.GetPerson parameters: - name: UserName in: path @@ -5726,53 +9769,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved entity content: application/json: schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + patch: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - People.Person + summary: Update entity in People + operationId: People.Person.UpdatePerson parameters: - name: UserName in: path @@ -5782,39 +9833,23 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New property values content: application/json: schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: + x-ms-docs-operation-type: operation + delete: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - People.Person + summary: Delete entity from People + operationId: People.Person.DeletePerson parameters: - name: UserName in: path @@ -5823,39 +9858,24 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: If-Match + in: header + description: ETag schema: type: string responses: - '200': + '204': description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Person + summary: Get BestFriend from People + description: The best friend. + operationId: People.GetBestFriend parameters: - name: UserName in: path @@ -5906,73 +9926,21 @@ paths: type: string responses: '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success + description: Retrieved navigation property content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/$ref': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - People.Person + summary: Get ref of BestFriend from People + description: The best friend. + operationId: People.GetRefBestFriend parameters: - name: UserName in: path @@ -5981,43 +9949,22 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string responses: '200': - description: Success + description: Retrieved navigation property link content: application/json: schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + x-ms-docs-operation-type: operation + put: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + - People.Person + summary: Update the ref of navigation property BestFriend in People + description: The best friend. + operationId: People.UpdateRefBestFriend parameters: - name: UserName in: path @@ -6027,52 +9974,26 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New navigation property ref values content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + additionalProperties: + type: object required: true responses: - '200': + '204': description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + delete: tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + - People.Person + summary: Delete ref of navigation property BestFriend for People + description: The best friend. + operationId: People.DeleteRefBestFriend parameters: - name: UserName in: path @@ -6081,40 +10002,23 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: If-Match + in: header + description: ETag + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -6123,39 +10027,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -6177,18 +10103,22 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -6199,7 +10129,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -6209,7 +10139,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Employee type: object properties: value: @@ -6222,18 +10152,22 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - NewComePeople.Actions + - People.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -6250,78 +10184,49 @@ paths: type: object properties: userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - NewComePeople.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - hire: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of Employee + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - - NewComePeople.Actions + - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -6352,18 +10257,22 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - - NewComePeople.Functions + - People.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -6374,7 +10283,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName=''{lastName}''' + description: 'Usage: lastName={lastName}' required: true schema: type: string @@ -6393,19 +10302,22 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Trips': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - People.BestFriend.Person + summary: Get Peers from People + operationId: People.BestFriend.ListPeers parameters: - name: UserName in: path @@ -6429,22 +10341,28 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - name: $select in: query @@ -6456,15 +10374,20 @@ paths: type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -6477,7 +10400,9 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': @@ -6485,22 +10410,25 @@ paths: content: application/json: schema: - title: Collection of Trip + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - post: + x-ms-docs-grouped-path: + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: tags: - - NewComePeople.Trip - summary: Create new navigation property to Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.CreateTrips + - People.BestFriend.Person + summary: Delete ref of navigation property Peers for People + operationId: People.BestFriend.DeleteRefPeers parameters: - name: UserName in: path @@ -6509,30 +10437,33 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - required: true + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: - '201': - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: - tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.GetTrips + summary: Get the number of the resource + operationId: Get.Count.Peers parameters: - name: UserName in: path @@ -6541,39 +10472,37 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - People.BestFriend.Person + summary: Get ref of Peers from People + operationId: People.BestFriend.ListRefPeers + parameters: + - name: UserName in: path - description: 'key: TripId of Trip' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - name: $expand + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Expand related entities + description: Order items by property values style: form explode: false schema: @@ -6581,25 +10510,50 @@ paths: type: array items: enum: - - '*' - - PlanItems + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + post: tags: - - NewComePeople.Trip - summary: Update the navigation property Trips in NewComePeople - description: Collection of trips. - operationId: NewComePeople.UpdateTrips + - People.BestFriend.Person + summary: Create new navigation property ref to Peers for People + operationId: People.BestFriend.CreateRefPeers parameters: - name: UserName in: path @@ -6608,70 +10562,31 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip requestBody: - description: New navigation property values + description: New navigation property ref value content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + additionalProperties: + type: object required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Trip - summary: Delete navigation property Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.DeleteTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Functions - summary: Invoke function GetInvolvedPeople - operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -6680,40 +10595,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListPlanItems + - People.BestFriend.Person + summary: Get DirectReports from People + operationId: People.BestFriend.ListDirectReports parameters: - name: UserName in: path @@ -6722,16 +10658,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -6747,16 +10673,28 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string - name: $select in: query @@ -6768,11 +10706,20 @@ paths: type: array items: enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -6785,6 +10732,9 @@ paths: items: enum: - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': @@ -6792,50 +10742,40 @@ paths: content: application/json: schema: - title: Collection of PlanItem + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + x-ms-docs-grouped-path: + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - - NewComePeople.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for NewComePeople - operationId: NewComePeople.Trips.DeleteRefPlanItems + - People.BestFriend.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.BestFriend.DeleteRefDirectReports parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - - name: PlanItemId + - name: UserName in: path - description: 'key: PlanItemId of PlanItem' + description: 'key: UserName of Person' required: true schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: PlanItem + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: If-Match in: header description: ETag @@ -6852,10 +10792,10 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.DirectReports parameters: - name: UserName in: path @@ -6864,16 +10804,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip responses: '200': description: The count of the resource @@ -6883,12 +10813,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get ref of PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListRefPlanItems + - People.BestFriend.Person + summary: Get ref of DirectReports from People + operationId: People.BestFriend.ListRefDirectReports parameters: - name: UserName in: path @@ -6897,16 +10827,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -6922,16 +10842,28 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': @@ -6939,7 +10871,7 @@ paths: content: application/json: schema: - title: Collection of links of PlanItem + title: Collection of links of Person type: object properties: value: @@ -6951,9 +10883,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for NewComePeople - operationId: NewComePeople.Trips.CreateRefPlanItems + - People.BestFriend.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.BestFriend.CreateRefDirectReports parameters: - name: UserName in: path @@ -6962,16 +10894,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: TripId - in: path - description: 'key: TripId of Trip' - required: true - schema: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - x-ms-docs-key-type: Trip requestBody: description: New navigation property ref value content: @@ -6991,10 +10913,12 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/$count': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -7005,154 +10929,82 @@ paths: x-ms-docs-key-type: Person responses: '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /NewComePeople/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.NewComePeople - responses: - '200': - description: The count of the resource + description: Success content: - text/plain: + application/json: schema: - $ref: '#/components/schemas/ODataCountResponse' + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + nullable: true default: $ref: '#/components/responses/error' - /People: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - - People.Person - summary: Get entities from People - operationId: People.Person.ListPerson + - People.Functions + summary: Invoke function GetFriendsTrips + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + type: string + x-ms-docs-key-type: Person + - name: userName + in: path + description: 'Usage: userName={userName}' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string responses: '200': - description: Retrieved entities - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - post: - tags: - - People.Person - summary: Add new entity to People - operationId: People.Person.CreatePerson - requestBody: - description: New entity - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - required: true - responses: - '201': - description: Created entity + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + post: tags: - - People.Person - summary: Get entity from People by key - operationId: People.Person.GetPerson + - People.Actions + summary: Invoke action GetPeersForTrip + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -7161,61 +11013,57 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 + required: true responses: '200': - description: Retrieved entity + description: Success content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Manager + type: object + properties: + value: + type: array + items: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Update entity in People - operationId: People.Person.UpdatePerson + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -7225,23 +11073,43 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: New property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + maximum: 2147483647 + minimum: -2147483648 + type: integer + format: int32 required: true responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + get: tags: - - People.Person - summary: Delete entity from People - operationId: People.Person.DeletePerson + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - name: UserName in: path @@ -7250,24 +11118,43 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag + - name: lastName + in: path + description: 'Usage: lastName={lastName}' + required: true schema: type: string responses: - '204': + '200': description: Success + content: + application/json: + schema: + type: object + properties: + value: + type: boolean + default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/Friends': get: tags: - People.Person - summary: Get BestFriend from People - description: The best friend. - operationId: People.GetBestFriend + summary: Get Friends from People + operationId: People.ListFriends parameters: - name: UserName in: path @@ -7276,9 +11163,14 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -7287,23 +11179,31 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips + - Features desc type: string - - name: $expand + - name: $select in: query - description: Expand related entities + description: Select properties to be returned style: form explode: false schema: @@ -7311,52 +11211,58 @@ paths: type: array items: enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/$ref': - get: - tags: - - People.Person - summary: Get ref of BestFriend from People - description: The best friend. - operationId: People.GetRefBestFriend - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Retrieved navigation property link + description: Retrieved navigation property content: application/json: schema: - type: string + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - put: + '/People/{UserName}/Friends/{UserName1}/$ref': + delete: tags: - People.Person - summary: Update the ref of navigation property BestFriend in People - description: The best friend. - operationId: People.UpdateRefBestFriend + summary: Delete ref of navigation property Friends for People + operationId: People.DeleteRefFriends parameters: - name: UserName in: path @@ -7365,29 +11271,7 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref values - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - People.Person - summary: Delete ref of navigation property BestFriend for People - description: The best friend. - operationId: People.DeleteRefBestFriend - parameters: - - name: UserName + - name: UserName1 in: path description: 'key: UserName of Person' required: true @@ -7399,13 +11283,18 @@ paths: description: ETag schema: type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - Person.Employee @@ -7419,6 +11308,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: $select in: query description: Select properties to be returned @@ -7468,12 +11364,12 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -7482,6 +11378,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person responses: '200': description: Success @@ -7495,8 +11398,8 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' @@ -7505,12 +11408,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -7519,6 +11422,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: userName in: path description: 'Usage: userName={userName}' @@ -7544,8 +11454,8 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -7554,12 +11464,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -7568,6 +11478,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -7602,8 +11519,8 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' @@ -7612,13 +11529,13 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -7627,6 +11544,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -7649,8 +11573,8 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: action x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' @@ -7659,12 +11583,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -7673,6 +11597,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' @@ -7694,8 +11625,8 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: function x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -7704,12 +11635,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Friends.Person + summary: Get Peers from People + operationId: People.Friends.ListPeers parameters: - name: UserName in: path @@ -7718,6 +11649,51 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - name: $select in: query description: Select properties to be returned @@ -7760,19 +11736,29 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': + delete: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - People.Friends.Person + summary: Delete ref of navigation property Peers for People + operationId: People.Friends.DeleteRefPeers parameters: - name: UserName in: path @@ -7781,35 +11767,40 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName2 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + summary: Get the number of the resource + operationId: Get.Count.Peers parameters: - name: UserName in: path @@ -7818,47 +11809,28 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: userName + - name: UserName1 in: path - description: 'Usage: userName={userName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + - People.Friends.Person + summary: Get ref of Peers from People + operationId: People.Friends.ListRefPeers parameters: - name: UserName in: path @@ -7867,57 +11839,72 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links content: application/json: schema: - title: Collection of Manager + title: Collection of links of Person type: object properties: value: type: array items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-operation-type: operation post: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + - People.Friends.Person + summary: Create new navigation property ref to Peers for People + operationId: People.Friends.CreateRefPeers parameters: - name: UserName in: path @@ -7926,44 +11913,38 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New navigation property ref value content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + additionalProperties: + type: object required: true responses: - '204': - description: Success + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -7972,43 +11953,68 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName + - name: UserName1 in: path - description: 'Usage: lastName={lastName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - People.Person - summary: Get Friends from People - operationId: People.ListFriends + - People.Friends.Person + summary: Get DirectReports from People + operationId: People.Friends.ListDirectReports parameters: - name: UserName in: path @@ -8017,6 +12023,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -8111,12 +12124,15 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/$ref': + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': delete: tags: - - People.Person - summary: Delete ref of navigation property Friends for People - operationId: People.DeleteRefFriends + - People.Friends.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.Friends.DeleteRefDirectReports parameters: - name: UserName in: path @@ -8132,6 +12148,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName2 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: If-Match in: header description: ETag @@ -8148,12 +12171,40 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.Friends.Person + summary: Get ref of DirectReports from People + operationId: People.Friends.ListRefDirectReports parameters: - name: UserName in: path @@ -8169,9 +12220,14 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -8180,50 +12236,89 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + post: + tags: + - People.Friends.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.Friends.CreateRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -8254,7 +12349,7 @@ paths: x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' @@ -8262,12 +12357,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -8295,7 +12390,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -8310,7 +12405,7 @@ paths: x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -8318,12 +12413,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -8360,7 +12455,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -8375,7 +12470,7 @@ paths: x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' @@ -8383,13 +12478,13 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -8429,7 +12524,7 @@ paths: x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' @@ -8437,12 +12532,12 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - name: UserName in: path @@ -8481,7 +12576,7 @@ paths: x-ms-docs-grouped-path: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -8489,12 +12584,100 @@ paths: - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Friends/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/$ref': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Person + summary: Get ref of Friends from People + operationId: People.ListRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to Friends for People + operationId: People.CreateRefFriends parameters: - name: UserName in: path @@ -8503,7 +12686,33 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: UserName in: path description: 'key: UserName of Person' required: true @@ -8556,15 +12765,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -8573,7 +12780,23 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - People.Functions + summary: Invoke function GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + parameters: + - name: UserName in: path description: 'key: UserName of Person' required: true @@ -8596,19 +12819,19 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -8617,13 +12840,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: userName in: path description: 'Usage: userName={userName}' @@ -8636,7 +12852,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -8652,19 +12868,19 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -8673,13 +12889,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -8701,7 +12910,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -8717,20 +12926,20 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -8739,13 +12948,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person requestBody: description: Action parameters content: @@ -8771,19 +12973,19 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -8792,13 +12994,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: lastName in: path description: 'Usage: lastName={lastName}' @@ -8823,140 +13018,19 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Friends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Friends/$ref': - get: - tags: - - People.Person - summary: Get ref of Friends from People - operationId: People.ListRefFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - People.Person - summary: Create new navigation property ref to Friends for People - operationId: People.CreateRefFriends - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -9011,13 +13085,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -9035,12 +13109,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -9066,18 +13140,18 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -9098,7 +13172,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -9115,18 +13189,18 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -9156,7 +13230,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Manager type: object properties: value: @@ -9173,19 +13247,19 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -9220,18 +13294,18 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName parameters: - name: UserName in: path @@ -9265,18 +13339,18 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -9331,36 +13405,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -9387,17 +13440,17 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -9418,7 +13471,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -9436,17 +13489,17 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -9476,7 +13529,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -9494,18 +13547,18 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -9541,17 +13594,17 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -9586,17 +13639,17 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.Person + summary: Get Peers from People + operationId: People.ListPeers parameters: - name: UserName in: path @@ -9605,9 +13658,183 @@ paths: schema: type: string x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - name: $select in: query - description: Select properties to be returned + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Peers for People + operationId: People.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - People.Person + summary: Get ref of Peers from People + operationId: People.ListRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values style: form explode: false schema: @@ -9616,50 +13843,82 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to Peers for People + operationId: People.CreateRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.GetFavoriteAirline parameters: - name: UserName in: path @@ -9687,16 +13946,16 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.GetFriendsTrips parameters: - name: UserName in: path @@ -9707,7 +13966,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true schema: type: string @@ -9717,7 +13976,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -9736,16 +13995,16 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.GetPeersForTrip parameters: - name: UserName in: path @@ -9775,7 +14034,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -9794,17 +14053,16 @@ paths: - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -9813,44 +14071,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - People.Person + summary: Get DirectReports from People + operationId: People.ListDirectReports parameters: - name: UserName in: path @@ -9859,43 +14134,109 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property content: application/json: schema: + title: Collection of Person type: object properties: value: - type: boolean - default: false + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.GetFavoriteAirline + - People.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.DeleteRefDirectReports parameters: - name: UserName in: path @@ -9904,84 +14245,33 @@ paths: schema: type: string x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.GetFriendsTrips - parameters: - - name: UserName + - name: UserName1 in: path description: 'key: UserName of Person' required: true schema: type: string x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName=''{userName}''' - required: true + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri schema: type: string responses: - '200': + '204': description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.GetPeersForTrip + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports parameters: - name: UserName in: path @@ -9990,56 +14280,21 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Person + summary: Get ref of DirectReports from People + operationId: People.ListRefDirectReports parameters: - name: UserName in: path @@ -10048,9 +14303,14 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -10059,44 +14319,76 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.CreateRefDirectReports + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object default: $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: @@ -12254,7 +16546,11 @@ tags: x-ms-docs-toc-type: container - name: Me.Actions x-ms-docs-toc-type: container + - name: Me.BestFriend.Person + x-ms-docs-toc-type: page - name: Person.Manager + - name: Me.Friends.Person + x-ms-docs-toc-type: page - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem @@ -12265,6 +16561,10 @@ tags: x-ms-docs-toc-type: container - name: NewComePeople.Actions x-ms-docs-toc-type: container + - name: NewComePeople.BestFriend.Person + x-ms-docs-toc-type: page + - name: NewComePeople.Friends.Person + x-ms-docs-toc-type: page - name: NewComePeople.Trip x-ms-docs-toc-type: page - name: NewComePeople.Trips.PlanItem @@ -12275,6 +16575,10 @@ tags: x-ms-docs-toc-type: container - name: People.Actions x-ms-docs-toc-type: container + - name: People.BestFriend.Person + x-ms-docs-toc-type: page + - name: People.Friends.Person + x-ms-docs-toc-type: page - name: People.Trip x-ms-docs-toc-type: page - name: People.Trips.PlanItem From b1be8b62e0aba6dabc4a89fe03a47e7752e5bfd1 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 11:24:35 -0500 Subject: [PATCH 22/28] - fixes a bug where single bound operations would be added under type cast segments under collection segments Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 52 +- .../Resources/TripService.OpenApi.V2.json | 8690 ++++------- .../Resources/TripService.OpenApi.V2.yaml | 3384 +--- .../Resources/TripService.OpenApi.json | 12960 ++++++---------- .../Resources/TripService.OpenApi.yaml | 3126 +--- 5 files changed, 9603 insertions(+), 18609 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index d7df9bbe..3361c2bf 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -493,28 +493,24 @@ private void RetrieveBoundOperationPaths(OpenApiConvertSettings convertSettings) } var firstEntityType = bindingType.AsEntity().EntityDefinition(); - var allEntitiesForOperation= new List(){ firstEntityType }; - - System.Func filter = (z) => - z.EntityType() != firstEntityType && - z.EntityType().FindAllBaseTypes().Contains(firstEntityType); - - //Search all EntitySets - allEntitiesForOperation.AddRange( - _model.EntityContainer.EntitySets() - .Where(filter).Select(x => x.EntityType()) - ); - - //Search all singletons - allEntitiesForOperation.AddRange( - _model.EntityContainer.Singletons() - .Where(filter).Select(x => x.EntityType()) - ); - - allEntitiesForOperation = allEntitiesForOperation.Distinct().ToList(); + bool filter(IEdmNavigationSource z) => + z.EntityType() != firstEntityType && + z.EntityType().FindAllBaseTypes().Contains(firstEntityType); + + var allEntitiesForOperation = new IEdmEntityType[] { firstEntityType } + .Union(_model.EntityContainer.EntitySets() + .Where(filter).Select(x => x.EntityType())) //Search all EntitySets + .Union(_model.EntityContainer.Singletons() + .Where(filter).Select(x => x.EntityType())) //Search all singletons + .Distinct() + .ToList(); + foreach (var bindingEntityType in allEntitiesForOperation) - { + {// Note: one of those is adding operations from parent types on type cast when we don't want that. + //hire is bound to manager -> ok + //GetFavoriteAirline on person -> also added on manager/employee nok + //TODO: this method should not be adding methods from the parent type when a type cast segment is already present. // 1. Search for corresponding navigation source path if (AppendBoundOperationOnNavigationSourcePath(edmOperation, isCollection, bindingEntityType)) { @@ -542,7 +538,7 @@ private void RetrieveBoundOperationPaths(OpenApiConvertSettings convertSettings) } } } - private static readonly HashSet _oDataPathKindsToSkipForOperations = new HashSet() { + private static readonly HashSet _oDataPathKindsToSkipForOperationsWhenSingle = new() { ODataPathKind.EntitySet, ODataPathKind.MediaEntity, ODataPathKind.DollarCount @@ -557,8 +553,18 @@ private bool AppendBoundOperationOnNavigationSourcePath(IEdmOperation edmOperati foreach (var subPath in value) { - if ((isCollection && subPath.Kind == ODataPathKind.EntitySet) || - (!isCollection && !_oDataPathKindsToSkipForOperations.Contains(subPath.Kind))) + var secondLastPathSegment = subPath.Count > 1 ? subPath.ElementAt(subPath.Count - 2) : null; + if (subPath.Kind == ODataPathKind.TypeCast && + !isCollection && + secondLastPathSegment != null && + secondLastPathSegment is not ODataKeySegment && + (secondLastPathSegment is not ODataNavigationSourceSegment navSource || navSource.NavigationSource is not IEdmSingleton) && + (secondLastPathSegment is not ODataNavigationPropertySegment navProp || navProp.NavigationProperty.Type.IsCollection())) + {// we don't want to add operations bound to single elements on type cast segments under collections, only under the key segment, singletons and nav props bound to singles. + continue; + } + else if ((isCollection && subPath.Kind == ODataPathKind.EntitySet) || + (!isCollection && !_oDataPathKindsToSkipForOperationsWhenSingle.Contains(subPath.Kind))) { ODataPath newPath = subPath.Clone(); newPath.Push(new ODataOperationSegment(edmOperation, isEscapedFunction)); 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 4a7b8bfb..314c8ae7 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 @@ -969,8 +969,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -1021,8 +1019,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -1089,8 +1085,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -1143,8 +1137,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -1192,8 +1184,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -1909,8 +1899,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -1961,8 +1949,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -2029,8 +2015,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -2083,8 +2067,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -2132,8 +2114,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -2412,8 +2392,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -2472,8 +2450,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -2548,8 +2524,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -2610,8 +2584,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -2667,8 +2639,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -3486,8 +3456,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -3546,8 +3514,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -3622,8 +3588,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -3684,8 +3648,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -3741,8 +3703,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -3975,13 +3935,163 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "produces": [ "application/json" ], @@ -4003,19 +4113,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -4055,19 +4163,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "consumes": [ "application/json" ], @@ -4123,20 +4229,18 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], @@ -4177,19 +4281,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -4226,23 +4328,69 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from Me", + "operationId": "Me.ListPeers", "produces": [ "application/json" ], "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, { "in": "query", "name": "$select", @@ -4286,27 +4434,81 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "text/plain" + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" ], - "responses": { - "200": { - "description": "The count of the resource", + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "produces": [ + "text/plain" + ], + "responses": { + "200": { + "description": "The count of the resource", "schema": { "$ref": "#/definitions/ODataCountResponse" } @@ -4317,13 +4519,135 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.ListRefPeers", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.CreateRefPeers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", "produces": [ "application/json" ], @@ -4345,19 +4669,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", "produces": [ "application/json" ], @@ -4365,7 +4687,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "type": "string" } @@ -4374,7 +4696,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4397,19 +4719,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", "consumes": [ "application/json" ], @@ -4442,7 +4762,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4465,958 +4785,68 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get Peers from Me", - "operationId": "Me.ListPeers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { - "delete": { - "tags": [ - "Me.Person" - ], - "summary": "Delete ref of navigation property Peers for Me", - "operationId": "Me.DeleteRefPeers", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get ref of Peers from Me", - "operationId": "Me.ListRefPeers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Person" - ], - "summary": "Create new navigation property ref to Peers for Me", - "operationId": "Me.CreateRefPeers", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } }, "default": { "$ref": "#/responses/error" @@ -5761,8 +5191,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] @@ -5813,8 +5241,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] @@ -5881,8 +5307,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] @@ -5973,8 +5397,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] @@ -6022,8 +5444,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] @@ -6076,8 +5496,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] @@ -6125,8 +5543,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] @@ -6875,130 +6291,12 @@ "HomeAddress", "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved entities", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - } - }, - "post": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New entity", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - ], - "responses": { - "201": { - "description": "Created entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } }, { "in": "query", @@ -7043,39 +6341,42 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Retrieved entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } }, - "patch": { + "post": { "tags": [ "NewComePeople.Person" ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", - "description": "New property values", + "description": "New entity", "required": true, "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" @@ -7083,40 +6384,11 @@ } ], "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } }, "default": { "$ref": "#/responses/error" @@ -7125,14 +6397,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend": { + "/NewComePeople/{UserName}": { "get": { "tags": [ "NewComePeople.Person" ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", "produces": [ "application/json" ], @@ -7188,7 +6459,7 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved entity", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } @@ -7198,49 +6469,13 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "schema": { - "type": "string" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" }, - "put": { + "patch": { "tags": [ "NewComePeople.Person" ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", "consumes": [ "application/json" ], @@ -7256,13 +6491,10 @@ { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "New property values", "required": true, "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } ], @@ -7280,9 +6512,8 @@ "tags": [ "NewComePeople.Person" ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", "parameters": [ { "in": "path", @@ -7310,13 +6541,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/BestFriend": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", "produces": [ "application/json" ], @@ -7372,127 +6604,26 @@ ], "responses": { "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" + "NewComePeople.Person" ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", "produces": [ "application/json" ], @@ -7504,67 +6635,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property link", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "string" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "put": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", "consumes": [ "application/json" ], @@ -7580,20 +6672,12 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref values", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } @@ -7606,27 +6690,15 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "delete": { "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" + "NewComePeople.Person" ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -7637,48 +6709,30 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, + "in": "header", + "name": "If-Match", + "description": "ETag", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "Person.Employee" ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListPeers", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -7691,54 +6745,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, { "in": "query", "name": "$select", @@ -7782,84 +6788,66 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Functions" ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefPeers", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -7869,28 +6857,54 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -7904,65 +6918,37 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -7972,20 +6958,26 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Actions" ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefPeers", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -7998,37 +6990,48 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -8042,66 +7045,46 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "NewComePeople.BestFriend.Person" ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListDirectReports", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListPeers", "produces": [ "application/json" ], @@ -8226,16 +7209,16 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ "NewComePeople.BestFriend.Person" ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -8277,10 +7260,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -8307,13 +7290,13 @@ } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "NewComePeople.BestFriend.Person" ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefDirectReports", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -8401,235 +7384,14 @@ "tags": [ "NewComePeople.BestFriend.Person" ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefPeers", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -8642,50 +7404,37 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -8699,48 +7448,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -8863,15 +7630,18 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -8913,15 +7683,12 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -8931,76 +7698,166 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -9012,14 +7869,6 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -9037,20 +7886,18 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -9063,14 +7910,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "userName", @@ -9083,7 +7922,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -9103,20 +7942,18 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -9132,14 +7969,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -9165,7 +7994,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -9185,21 +8014,19 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -9212,14 +8039,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -9253,20 +8072,18 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -9279,14 +8096,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "lastName", @@ -9316,20 +8125,18 @@ }, "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Person" ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListPeers", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "produces": [ "application/json" ], @@ -9342,14 +8149,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -9460,18 +8259,15 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Person" ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefPeers", + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "in": "path", @@ -9489,14 +8285,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName2", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "header", "name": "If-Match", @@ -9521,12 +8309,144 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -9544,28 +8464,54 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefPeers", "produces": [ "application/json" ], @@ -9587,65 +8533,37 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -9655,20 +8573,26 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Actions" ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefPeers", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -9689,37 +8613,48 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -9741,66 +8676,46 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "NewComePeople.Friends.Person" - ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListDirectReports", + ], + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", "produces": [ "application/json" ], @@ -9933,16 +8848,16 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { "delete": { "tags": [ "NewComePeople.Friends.Person" ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", "parameters": [ { "in": "path", @@ -9992,10 +8907,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -10030,13 +8945,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "NewComePeople.Friends.Person" ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefDirectReports", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", "produces": [ "application/json" ], @@ -10132,8 +9047,8 @@ "tags": [ "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefDirectReports", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", "consumes": [ "application/json" ], @@ -10184,13 +9099,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Manager" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -10210,37 +9125,68 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "produces": [ "application/json" ], @@ -10262,100 +9208,99 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } + "$ref": "#/parameters/top" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/skip" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/search" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -10371,28 +9316,19 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "NewComePeople.Friends.Person" ], + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -10410,113 +9346,42 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName2", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, + "in": "query", + "name": "@id", + "description": "Delete Uri", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.DirectReports", "produces": [ "text/plain" ], @@ -10528,6 +9393,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -10543,13 +9416,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "produces": [ "application/json" ], @@ -10562,6 +9435,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -10635,10 +9516,10 @@ }, "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -10653,144 +9534,49 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "parameters": [ + }, { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -10802,6 +9588,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -10821,18 +9615,16 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -10845,6 +9637,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "userName", @@ -10857,7 +9657,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -10879,18 +9679,16 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -10906,6 +9704,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -10931,7 +9737,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -10953,19 +9759,17 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -10978,6 +9782,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -10986,45 +9798,226 @@ "schema": { "type": "object", "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } } } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "post": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" + ], + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", + "consumes": [ + "application/json" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -11038,48 +10031,39 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "in": "body", + "name": "body", + "description": "New navigation property ref value", "required": true, - "type": "string" + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Person.Manager" + "Person.Employee" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -11137,7 +10121,7 @@ "200": { "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { @@ -11146,10 +10130,10 @@ } } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "text/plain" ], @@ -11173,192 +10157,17 @@ "default": { "$ref": "#/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "NewComePeople.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ @@ -11371,54 +10180,65 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -11428,42 +10248,20 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { @@ -11502,9 +10300,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { @@ -11560,9 +10356,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -11634,9 +10428,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { @@ -11740,9 +10532,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { @@ -11795,9 +10585,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/NewComePeople/{UserName}/Trips": { @@ -12716,153 +11504,38 @@ "schema": { "title": "Collection of Person", "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - } - }, - "post": { - "tags": [ - "People.Person" - ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New entity", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - ], - "responses": { - "201": { - "description": "Created entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } }, - "patch": { + "post": { "tags": [ "People.Person" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", - "description": "New property values", + "description": "New entity", "required": true, "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" @@ -12870,40 +11543,11 @@ } ], "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } }, "default": { "$ref": "#/responses/error" @@ -12912,14 +11556,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend": { + "/People/{UserName}": { "get": { "tags": [ "People.Person" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", "produces": [ "application/json" ], @@ -12975,7 +11618,7 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved entity", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } @@ -12985,49 +11628,13 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "schema": { - "type": "string" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" }, - "put": { + "patch": { "tags": [ "People.Person" ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", "consumes": [ "application/json" ], @@ -13043,13 +11650,10 @@ { "in": "body", "name": "body", - "description": "New navigation property ref values", + "description": "New property values", "required": true, "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } ], @@ -13067,9 +11671,8 @@ "tags": [ "People.Person" ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", "parameters": [ { "in": "path", @@ -13097,13 +11700,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend": { "get": { "tags": [ - "Person.Employee" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", "produces": [ "application/json" ], @@ -13159,135 +11763,26 @@ ], "responses": { "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" + "/People/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "People.Person" ], + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", "produces": [ "application/json" ], @@ -13299,71 +11794,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property link", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "string" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "put": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", "consumes": [ "application/json" ], @@ -13379,20 +11831,12 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref values", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } @@ -13405,31 +11849,15 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "delete": { "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" + "People.Person" ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -13440,52 +11868,30 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, + "in": "header", + "name": "If-Match", + "description": "ETag", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.BestFriend.Person" + "Person.Employee" ], - "summary": "Get Peers from People", - "operationId": "People.BestFriend.ListPeers", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -13498,54 +11904,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, { "in": "query", "name": "$select", @@ -13589,38 +11947,27 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "People.BestFriend.Person" + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -13629,45 +11976,39 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -13677,28 +12018,56 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "People.BestFriend.Person" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of Peers from People", - "operationId": "People.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -13712,65 +12081,37 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -13780,20 +12121,28 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.BestFriend.Person" + "People.Actions" ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.BestFriend.CreateRefPeers", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -13806,37 +12155,50 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "People.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -13850,66 +12212,48 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.BestFriend.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.BestFriend.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "produces": [ "application/json" ], @@ -14034,17 +12378,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.BestFriend.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -14086,10 +12430,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -14116,13 +12460,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "People.BestFriend.Person" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.BestFriend.ListRefDirectReports", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -14210,8 +12554,8 @@ "tags": [ "People.BestFriend.Person" ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.BestFriend.CreateRefDirectReports", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", "consumes": [ "application/json" ], @@ -14231,286 +12575,36 @@ "in": "body", "name": "body", "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -14524,52 +12618,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Friends": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -14692,15 +12800,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/People/{UserName}/Friends/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -14742,15 +12854,12 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -14760,76 +12869,166 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "People.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -14841,14 +13040,6 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -14866,24 +13057,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -14896,14 +13083,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "userName", @@ -14916,7 +13095,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -14936,24 +13115,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -14969,14 +13144,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -15002,7 +13169,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -15022,25 +13189,21 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -15053,14 +13216,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -15094,24 +13249,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -15124,14 +13275,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "path", "name": "lastName", @@ -15161,24 +13304,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People/{UserName}/Friends": { "get": { "tags": [ - "People.Friends.Person" + "People.Person" ], - "summary": "Get Peers from People", - "operationId": "People.Friends.ListPeers", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "produces": [ "application/json" ], @@ -15191,14 +13330,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -15215,37 +13346,176 @@ "$ref": "#/parameters/count" }, { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" }, { "in": "query", @@ -15290,38 +13560,27 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { - "delete": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "People.Friends.Person" + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.Friends.DeleteRefPeers", "parameters": [ { "in": "path", @@ -15338,45 +13597,39 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName2", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -15394,28 +13647,56 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "userName", + "description": "Usage: userName={userName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "People.Friends.Person" + "People.Actions" + ], + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "consumes": [ + "application/json" ], - "summary": "Get ref of Peers from People", - "operationId": "People.Friends.ListRefPeers", "produces": [ "application/json" ], @@ -15437,65 +13718,37 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -15505,18 +13758,26 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.Friends.Person" - ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.Friends.CreateRefPeers", - "consumes": [ - "application/json" + "People.Actions" ], - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ @@ -15539,37 +13800,50 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "People.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "produces": [ "application/json" ], @@ -15591,66 +13865,48 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName={lastName}", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.Friends.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.Friends.ListPeers", "produces": [ "application/json" ], @@ -15783,17 +14039,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { "delete": { "tags": [ "People.Friends.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.Friends.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.Friends.DeleteRefPeers", "parameters": [ { "in": "path", @@ -15843,10 +14099,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -15881,13 +14137,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.Friends.ListRefDirectReports", + "summary": "Get ref of Peers from People", + "operationId": "People.Friends.ListRefPeers", "produces": [ "application/json" ], @@ -15942,160 +14198,52 @@ "Gender desc", "Age", "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.Friends.Person" - ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.Friends.CreateRefDirectReports", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "post": { "tags": [ - "People.Functions" + "People.Friends.Person" + ], + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.Friends.CreateRefPeers", + "consumes": [ + "application/json" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -16117,58 +14265,39 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "in": "body", + "name": "body", + "description": "New navigation property ref value", "required": true, - "type": "string" + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "Person.Manager" ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -16190,70 +14319,67 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { "tags": [ - "People.Actions" + "People.Friends.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get DirectReports from People", + "operationId": "People.Friends.ListDirectReports", + "produces": [ "application/json" ], "parameters": [ @@ -16274,59 +14400,128 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", "schema": { + "title": "Collection of Person", "type": "object", "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" + "People.Friends.Person" ], + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -16346,48 +14541,40 @@ }, { "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", + "name": "UserName2", + "description": "key: UserName of Person", "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.DirectReports", "produces": [ "text/plain" ], @@ -16399,6 +14586,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -16414,13 +14609,13 @@ } } }, - "/People/{UserName}/Friends/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "produces": [ "application/json" ], @@ -16433,6 +14628,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -16506,10 +14709,10 @@ }, "post": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -16525,143 +14728,48 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object" } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "produces": [ "application/json" ], @@ -16673,6 +14781,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -16692,22 +14808,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "produces": [ "application/json" ], @@ -16720,6 +14832,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "userName", @@ -16732,7 +14852,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -16754,22 +14874,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "consumes": [ "application/json" ], @@ -16785,6 +14901,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -16810,7 +14934,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -16832,23 +14956,19 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "consumes": [ "application/json" ], @@ -16861,6 +14981,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -16896,22 +15024,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "produces": [ "application/json" ], @@ -16924,6 +15048,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "path", "name": "lastName", @@ -16955,92 +15087,15 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "/People/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Friends", "produces": [ "text/plain" ], @@ -17067,13 +15122,13 @@ } } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "produces": [ "application/json" ], @@ -17085,72 +15140,67 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -17160,28 +15210,14 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", "consumes": [ "application/json" ], @@ -17200,68 +15236,38 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { "tags": [ - "People.Actions" + "Person.Employee" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ "application/json" ], "parameters": [ @@ -17274,56 +15280,96 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -17337,44 +15383,88 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { @@ -17487,12 +15577,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { @@ -17549,12 +15635,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -17627,12 +15709,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -17691,12 +15769,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { @@ -17750,12 +15824,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { @@ -18147,12 +16217,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { @@ -18209,12 +16275,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -18287,12 +16349,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -18757,12 +16815,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { @@ -18819,12 +16873,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -18897,12 +16947,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { @@ -19007,12 +17053,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { @@ -19066,12 +17108,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -19130,12 +17168,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { @@ -19189,12 +17223,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Trips": { @@ -20078,286 +18108,19 @@ "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { @@ -20444,273 +18207,6 @@ } } }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/ResetDataSource": { "post": { "tags": [ 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 f8d1636c..a02b53fc 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 @@ -662,8 +662,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -699,8 +697,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -747,8 +743,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -786,8 +780,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -821,8 +813,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -1324,8 +1314,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -1361,8 +1349,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -1409,8 +1395,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -1448,8 +1432,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -1483,8 +1465,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -1685,8 +1665,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -1728,8 +1706,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -1782,8 +1758,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -1827,8 +1801,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -1868,8 +1840,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -2446,8 +2416,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -2489,8 +2457,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -2543,8 +2509,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -2588,8 +2552,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -2629,8 +2591,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -2791,190 +2751,6 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -3036,12 +2812,60 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json responses: @@ -3057,16 +2881,14 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -3079,7 +2901,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -3094,16 +2916,14 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip consumes: - application/json produces: @@ -3127,7 +2947,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -3142,17 +2962,15 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json parameters: @@ -3181,16 +2999,14 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: @@ -3216,268 +3032,34 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers produces: - application/json parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: - get: - tags: - - Me.Person - summary: Get Peers from Me - operationId: Me.ListPeers - produces: - - application/json - parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc + - LastName desc - MiddleName - MiddleName desc - Gender @@ -3688,8 +3270,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': @@ -3725,8 +3305,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: @@ -3773,8 +3351,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: @@ -4061,8 +3637,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': @@ -4098,8 +3672,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: @@ -4146,8 +3718,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: @@ -4210,8 +3780,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': @@ -4245,8 +3813,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: @@ -4284,8 +3850,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': @@ -4319,8 +3883,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Trips: @@ -5231,8 +4793,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -5272,8 +4832,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -5324,8 +4882,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -5367,8 +4923,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -5406,8 +4960,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: @@ -5980,8 +5532,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -6021,8 +5571,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -6073,8 +5621,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -6116,8 +5662,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -6155,8 +5699,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends': get: @@ -6379,8 +5921,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -6426,8 +5966,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -6484,8 +6022,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -6533,8 +6069,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -6578,8 +6112,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: @@ -7224,8 +6756,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -7271,8 +6801,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -7329,8 +6857,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -7378,8 +6904,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -7423,8 +6947,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/$count': get: @@ -7615,217 +7137,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -7894,12 +7211,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline produces: - application/json parameters: @@ -7922,14 +7239,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips produces: - application/json parameters: @@ -7941,14 +7256,14 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true type: string responses: '200': description: Success schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -7963,14 +7278,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip consumes: - application/json produces: @@ -8000,7 +7313,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -8015,15 +7328,44 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: NewComePeople.Person.ShareTrip consumes: - application/json parameters: @@ -8058,14 +7400,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName produces: - application/json parameters: @@ -8077,7 +7417,7 @@ paths: x-ms-docs-key-type: Person - in: path name: lastName - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true type: string responses: @@ -8097,251 +7437,13 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Trips': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName=''{userName}''' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - NewComePeople.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Trips': - get: - tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips produces: - application/json parameters: @@ -9329,13 +8431,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -9374,13 +8472,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -9430,13 +8524,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -9477,13 +8567,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -9520,13 +8606,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -10100,13 +9182,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -10145,13 +9223,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -10201,13 +9275,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -10248,13 +9318,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -10291,13 +9357,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends': get: tags: @@ -10519,13 +9581,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -10570,13 +9628,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -10632,13 +9686,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -10685,13 +9735,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -10734,13 +9780,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -11386,13 +10428,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -11437,13 +10475,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -11499,13 +10533,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -11552,13 +10582,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -11601,13 +10627,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -11797,12 +10819,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -11812,181 +10834,51 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -11994,40 +10886,19 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -12073,35 +10944,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline produces: - application/json parameters: @@ -12124,18 +10975,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -12154,7 +11001,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -12169,18 +11016,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip consumes: - application/json produces: @@ -12210,7 +11053,7 @@ paths: '200': description: Success schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -12225,19 +11068,15 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip consumes: - application/json parameters: @@ -12272,18 +11111,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName produces: - application/json parameters: @@ -12315,18 +11150,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.Person + summary: Get Peers from People + operationId: People.ListPeers produces: - application/json parameters: @@ -12336,6 +11167,40 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - in: query name: $select description: Select properties to be returned @@ -12370,17 +11235,175 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Peers for People + operationId: People.DeleteRefPeers + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - People.Person + summary: Get ref of Peers from People + operationId: People.ListRefPeers + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to Peers for People + operationId: People.CreateRefPeers + consumes: + - application/json + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.GetFavoriteAirline produces: - application/json parameters: @@ -12403,18 +11426,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.GetFriendsTrips produces: - application/json parameters: @@ -12426,14 +11445,14 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true type: string responses: '200': description: Success schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -12448,18 +11467,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.GetPeersForTrip consumes: - application/json produces: @@ -12489,7 +11504,7 @@ paths: '200': description: Success schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -12504,20 +11519,15 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: - application/json parameters: - in: path @@ -12526,86 +11536,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - People.Person - summary: Get Peers from People - operationId: People.ListPeers + summary: Get DirectReports from People + operationId: People.ListDirectReports produces: - application/json parameters: @@ -12696,14 +11671,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - People.Person - summary: Delete ref of navigation property Peers for People - operationId: People.DeleteRefPeers + summary: Delete ref of navigation property DirectReports for People + operationId: People.DeleteRefDirectReports parameters: - in: path name: UserName @@ -12731,10 +11706,10 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.DirectReports produces: - text/plain parameters: @@ -12751,12 +11726,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - People.Person - summary: Get ref of Peers from People - operationId: People.ListRefPeers + summary: Get ref of DirectReports from People + operationId: People.ListRefDirectReports produces: - application/json parameters: @@ -12817,8 +11792,8 @@ paths: post: tags: - People.Person - summary: Create new navigation property ref to Peers for People - operationId: People.CreateRefPeers + summary: Create new navigation property ref to DirectReports for People + operationId: People.CreateRefDirectReports consumes: - application/json produces: @@ -12846,12 +11821,12 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline produces: - application/json parameters: @@ -12874,18 +11849,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips produces: - application/json parameters: @@ -12897,14 +11868,14 @@ paths: x-ms-docs-key-type: Person - in: path name: userName - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true type: string responses: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -12919,18 +11890,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip consumes: - application/json produces: @@ -12960,7 +11927,7 @@ paths: '200': description: Success schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -12975,18 +11942,88 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - People.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName produces: - application/json parameters: @@ -12996,52 +12033,38 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + - in: path + name: lastName + description: 'Usage: lastName={lastName}' + required: true + type: string responses: '200': - description: Result entities + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': - get: + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Get DirectReports from People - operationId: People.ListDirectReports - produces: + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.ShareTrip + consumes: - application/json parameters: - in: path @@ -13050,128 +12073,41 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property + - in: body + name: body + description: Action parameters + required: true schema: - title: Collection of Person type: object properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': - delete: - tags: - - People.Person - summary: Delete ref of navigation property DirectReports for People - operationId: People.DeleteRefDirectReports - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: - summary: Get the number of the resource - operationId: Get.Count.DirectReports + tags: + - People.Functions + summary: Invoke function UpdatePersonLastName + operationId: People.Person.UpdatePersonLastName produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -13179,19 +12115,37 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + x-ms-docs-operation-type: function + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + '/People/{UserName}/Trips': get: tags: - - People.Person - summary: Get ref of DirectReports from People - operationId: People.ListRefDirectReports + - People.Trip + summary: Get Trips from People + description: Collection of trips. + operationId: People.ListTrips produces: - application/json parameters: @@ -13212,48 +12166,68 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person + title: Collection of Trip type: object properties: value: type: array items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation post: tags: - - People.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.CreateRefDirectReports + - People.Trip + summary: Create new navigation property to Trips for People + description: Collection of trips. + operationId: People.CreateTrips consumes: - application/json produces: @@ -13267,487 +12241,25 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref value + description: New navigation property required: true schema: - type: object - additionalProperties: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: '201': - description: Created navigation property link. + description: Created navigation property. schema: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Trips/{TripId}': get: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - People.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Trips': - get: - tags: - - People.Trip - summary: Get Trips from People - description: Collection of trips. - operationId: People.ListTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - People.Trip - summary: Create new navigation property to Trips for People - description: Collection of trips. - operationId: People.CreateTrips - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '201': - description: Created navigation property. - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/{TripId}': - get: - tags: - - People.Trip - summary: Get Trips from People - description: Collection of trips. - operationId: People.GetTrips + - People.Trip + summary: Get Trips from People + description: Collection of trips. + operationId: People.GetTrips produces: - application/json parameters: @@ -14157,303 +12669,48 @@ paths: description: Created navigation property link. schema: type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Trips/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Trips - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /People/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.People - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Trips/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Trips produces: - - application/json + - text/plain parameters: - in: path - name: lastName - description: 'Usage: lastName={lastName}' + name: UserName + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + /People/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.People + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -14493,13 +12750,13 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - text/plain responses: @@ -14509,200 +12766,67 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true + description: Result entities schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + - text/plain responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /ResetDataSource: post: tags: 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 22ed9715..ae79bed2 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -1117,8 +1117,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -1177,8 +1175,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -1248,8 +1244,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -1299,8 +1293,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -1351,8 +1343,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -2139,8 +2129,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -2199,8 +2187,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -2270,8 +2256,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -2321,8 +2305,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -2373,8 +2355,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -2696,8 +2676,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -2766,8 +2744,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -2849,8 +2825,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -2912,8 +2886,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -2974,8 +2946,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -3892,8 +3862,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" @@ -3962,8 +3930,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" @@ -4045,8 +4011,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" @@ -4108,8 +4072,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" @@ -4170,8 +4132,6 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" @@ -4421,13 +4381,186 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -4455,19 +4588,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "userName", @@ -4515,19 +4646,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "requestBody": { "description": "Action parameters", "content": { @@ -4586,20 +4715,18 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "requestBody": { "description": "Action parameters", "content": { @@ -4637,19 +4764,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "lastName", @@ -4689,20 +4814,71 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from Me", + "operationId": "Me.ListPeers", "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -4756,25 +4932,85 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Peers", "responses": { "200": { "description": "The count of the resource", @@ -4792,13 +5028,139 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { + "tags": [ + "Me.Person" + ], + "summary": "Get ref of Peers from Me", + "operationId": "Me.ListRefPeers", + "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "Me.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.CreateRefPeers", + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -4826,24 +5188,22 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", "parameters": [ { "name": "userName", "in": "path", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" @@ -4856,7 +5216,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4886,19 +5246,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", "requestBody": { "description": "Action parameters", "content": { @@ -4927,7 +5285,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4957,94 +5315,76 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -5052,28 +5392,70 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "Person.Employee" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get DirectReports from Me", + "operationId": "Me.ListDirectReports", "parameters": [ + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, { "name": "$select", "in": "query", @@ -5127,40 +5509,20 @@ ], "responses": { "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } - ], - "nullable": true + } } } } @@ -5169,232 +5531,70 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { + "delete": { "tags": [ - "Me.Functions" + "Me.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.DeleteRefDirectReports", "parameters": [ { - "name": "userName", + "name": "UserName", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -5402,27 +5602,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ "Me.Person" ], - "summary": "Get Peers from Me", - "operationId": "Me.ListPeers", + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.ListRefDirectReports", "parameters": [ { "$ref": "#/components/parameters/top" @@ -5476,71 +5665,21 @@ "type": "string" } } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -5554,172 +5693,12 @@ }, "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { - "delete": { + "post": { "tags": [ "Me.Person" ], - "summary": "Delete ref of navigation property Peers for Me", - "operationId": "Me.DeleteRefPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get ref of Peers from Me", - "operationId": "Me.ListRefPeers", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Person" - ], - "summary": "Create new navigation property ref to Peers for Me", - "operationId": "Me.CreateRefPeers", + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.CreateRefDirectReports", "requestBody": { "description": "New navigation property ref value", "content": { @@ -5752,13 +5731,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "responses": { "200": { "description": "Success", @@ -5786,24 +5765,22 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "userName", "in": "path", - "description": "Usage: userName='{userName}'", + "description": "Usage: userName={userName}", "required": true, "schema": { "type": "string" @@ -5816,7 +5793,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -5846,19 +5823,17 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "requestBody": { "description": "Action parameters", "content": { @@ -5887,7 +5862,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -5917,1568 +5892,33 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } + "Me.Actions" ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get DirectReports from Me", - "operationId": "Me.ListDirectReports", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { - "delete": { - "tags": [ - "Me.Person" - ], - "summary": "Delete ref of navigation property DirectReports for Me", - "operationId": "Me.DeleteRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get ref of DirectReports from Me", - "operationId": "Me.ListRefDirectReports", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Person" - ], - "summary": "Create new navigation property ref to DirectReports for Me", - "operationId": "Me.CreateRefDirectReports", - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hire": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName='{lastName}'", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Trips": { - "get": { - "tags": [ - "Me.Trip" - ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Trip" - ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", - "requestBody": { - "description": "New navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}": { - "get": { - "tags": [ - "Me.Trip" - ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { - "tags": [ - "Me.Trip" - ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "Me.Trip" - ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - } - }, - "/Me/Trips/{TripId}/PlanItems": { - "get": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", - "in": "path", - "description": "key: PlanItemId of PlanItem", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/Me/Trips/{TripId}/PlanItems/$ref": { - "get": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", - "parameters": [ - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } } } } @@ -7486,292 +5926,96 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } + "x-ms-docs-operation-type": "action" } }, - "/NewComePeople": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", - "parameters": [ - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved entities", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Person" + "Me.Actions" ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "requestBody": { - "description": "New entity", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, "required": true }, "responses": { - "201": { - "description": "Created entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "NewComePeople.Person" - ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", + "Me.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { - "name": "UserName", + "name": "lastName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: lastName={lastName}", "required": true, "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } } } ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -7780,32 +6024,42 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Person" - ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + "Me.Actions" ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", "requestBody": { - "description": "New property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } } } }, @@ -7819,63 +6073,122 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "delete": { + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "get": { "tags": [ - "NewComePeople.Person" + "Me.Functions" ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", "parameters": [ { - "name": "UserName", + "name": "lastName", "in": "path", - "description": "key: UserName of Person", + "description": "Usage: lastName='{lastName}'", "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/BestFriend": { + "/Me/Trips": { "get": { "tags": [ - "NewComePeople.Person" + "Me.Trip" ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -7888,20 +6201,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -7919,9 +6227,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -7934,45 +6240,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "content": { - "application/json": { - "schema": { - "type": "string" + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } } } } @@ -7983,79 +6260,34 @@ }, "x-ms-docs-operation-type": "operation" }, - "put": { + "post": { "tags": [ - "NewComePeople.Person" - ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + "Me.Trip" ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", "requestBody": { - "description": "New navigation property ref values", + "description": "New navigation property", "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } }, "required": true }, "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" + "201": { + "description": "Created navigation property.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -8064,23 +6296,27 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Trips/{TripId}": { "get": { "tags": [ - "Person.Employee" + "Me.Trip" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" + "x-ms-docs-key-type": "Trip" }, { "name": "$select", @@ -8093,20 +6329,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -8124,9 +6355,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -8135,11 +6364,11 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -8147,85 +6376,113 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { "tags": [ - "NewComePeople.Functions" + "Me.Trip" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "Me.Trip" + ], + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ - "NewComePeople.Functions" + "Me.Functions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } + "x-ms-docs-key-type": "Trip" } ], "responses": { @@ -8234,7 +6491,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Trip", "type": "object", "properties": { "value": { @@ -8242,7 +6499,7 @@ "items": { "anyOf": [ { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } ], "nullable": true @@ -8258,75 +6515,122 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/Me/Trips/{TripId}/PlanItems": { + "get": { "tags": [ - "NewComePeople.Actions" + "Me.Trips.PlanItem" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -8338,59 +6642,60 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" + "Me.Trips.PlanItem" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, "responses": { "204": { "description": "Success" @@ -8399,58 +6704,35 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -8458,35 +6740,29 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/Me/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "Me.Trips.PlanItem" ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListPeers", + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" + "x-ms-docs-key-type": "Trip" }, { "$ref": "#/components/parameters/top" @@ -8514,78 +6790,16 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -8594,17 +6808,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -8618,58 +6832,51 @@ }, "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "post": { "tags": [ - "NewComePeople.BestFriend.Person" + "Me.Trips.PlanItem" ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefPeers", + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" + "x-ms-docs-key-type": "Trip" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } - } - ], + }, + "required": true + }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -8678,22 +6885,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/Me/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "operationId": "Get.Count.Trips", "responses": { "200": { "description": "The count of the resource", @@ -8711,24 +6906,14 @@ } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/NewComePeople": { "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Person" ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefPeers", + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/components/parameters/top" }, @@ -8781,21 +6966,71 @@ "type": "string" } } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved entities", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8806,36 +7041,20 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } }, "post": { "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + "NewComePeople.Person" ], + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", "requestBody": { - "description": "New navigation property ref value", + "description": "New entity", "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, @@ -8843,11 +7062,11 @@ }, "responses": { "201": { - "description": "Created navigation property link.", + "description": "Created entity", "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8859,13 +7078,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", "parameters": [ { "name": "UserName", @@ -8930,11 +7149,11 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved entity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -8942,16 +7161,15 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Person" ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListDirectReports", + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", "parameters": [ { "name": "UserName", @@ -8962,59 +7180,84 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", + "parameters": [ { - "$ref": "#/components/parameters/count" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -9073,16 +7316,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -9092,18 +7326,16 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { - "delete": { + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "NewComePeople.Person" ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", "parameters": [ { "name": "UserName", @@ -9114,9 +7346,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -9124,24 +7382,22 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "New navigation property ref values", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -9151,12 +7407,14 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { "name": "UserName", @@ -9167,32 +7425,34 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.BestFriend.Person" + "Person.Employee" ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefDirectReports", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -9205,24 +7465,9 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", + "name": "$select", "in": "query", - "description": "Order items by property values", + "description": "Select properties to be returned", "style": "form", "explode": false, "schema": { @@ -9231,98 +7476,52 @@ "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -9330,17 +7529,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -9376,21 +7574,19 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -9418,7 +7614,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -9444,21 +7640,19 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -9499,7 +7693,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -9525,22 +7719,20 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -9586,21 +7778,19 @@ "x-ms-docs-operation-type": "action" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -9646,21 +7836,19 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListPeers", "parameters": [ { "name": "UserName", @@ -9801,15 +7989,18 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -9859,169 +8050,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -10032,48 +8064,15 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -10081,25 +8080,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefPeers", "parameters": [ { "name": "UserName", @@ -10112,56 +8102,72 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "type": "string" } } } @@ -10173,25 +8179,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -10202,34 +8197,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -10237,31 +8214,30 @@ "required": true }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -10274,38 +8250,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -10313,25 +8314,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListPeers", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListDirectReports", "parameters": [ { "name": "UserName", @@ -10343,16 +8335,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/components/parameters/top" }, @@ -10484,16 +8466,16 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefPeers", + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -10515,16 +8497,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "If-Match", "in": "header", @@ -10553,10 +8525,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -10567,9 +8539,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListRefDirectReports", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -10577,15 +8575,77 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Retrieved navigation property links", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -10593,16 +8653,66 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Functions" ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefPeers", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -10613,9 +8723,47 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -10625,72 +8773,33 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Manager", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -10702,14 +8811,22 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Actions" ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefPeers", + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -10720,26 +8837,24 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -10747,12 +8862,26 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "type": "object" + "title": "Collection of Manager", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -10761,16 +8890,23 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Person.Manager" + "NewComePeople.Actions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -10781,9 +8917,57 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "get": { + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -10793,63 +8977,28 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -10857,16 +9006,23 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Person" ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListDirectReports", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "parameters": [ { "name": "UserName", @@ -10878,16 +9034,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/components/parameters/top" }, @@ -11017,18 +9163,15 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.Person" ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "name": "UserName", @@ -11050,16 +9193,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "If-Match", "in": "header", @@ -11088,56 +9221,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "Person.Employee" ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefDirectReports", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -11160,24 +9250,9 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", + "name": "$select", "in": "query", - "description": "Order items by property values", + "description": "Select properties to be returned", "style": "form", "explode": false, "schema": { @@ -11186,108 +9261,52 @@ "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -11295,17 +9314,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -11353,19 +9371,17 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -11403,7 +9419,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -11431,19 +9447,17 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -11494,7 +9508,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Employee", "type": "object", "properties": { "value": { @@ -11522,20 +9536,18 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -11593,19 +9605,17 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -11663,16 +9673,242 @@ "x-ms-docs-grouped-path": [ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/NewComePeople/{UserName}/Friends/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -11683,6 +9919,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -11702,13 +9948,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", "parameters": [ { "name": "UserName", @@ -11720,6 +9966,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -11802,10 +10058,10 @@ }, "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -11816,6 +10072,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -11850,13 +10116,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -11868,6 +10134,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "$select", "in": "query", @@ -11925,40 +10201,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -11969,13 +10212,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -11986,49 +10229,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -12038,114 +10241,122 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -12157,25 +10368,19 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -12186,30 +10391,44 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], "responses": { "204": { "description": "Success" @@ -12218,24 +10437,13 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -12248,28 +10456,23 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", + "name": "UserName1", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -12277,25 +10480,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Friends.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -12308,9 +10502,34 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -12319,39 +10538,27 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -12360,11 +10567,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -12372,13 +10588,15 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", "parameters": [ { "name": "UserName", @@ -12389,15 +10607,39 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property link.", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object" } } } @@ -12405,16 +10647,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -12425,6 +10668,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -12453,18 +10706,16 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -12476,6 +10727,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "userName", "in": "path", @@ -12521,18 +10782,16 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -12543,6 +10802,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -12602,19 +10871,17 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -12625,6 +10892,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -12663,18 +10940,16 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -12686,6 +10961,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "lastName", "in": "path", @@ -12705,8 +10990,146 @@ "type": "object", "properties": { "value": { - "type": "boolean", - "default": false + "type": "boolean", + "default": false + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] + }, + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } } } } @@ -12717,24 +11140,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "post": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", "parameters": [ { "name": "UserName", @@ -12747,18 +11160,27 @@ "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "type": "object" } } } @@ -12767,24 +11189,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Employee" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -12797,36 +11211,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName='{userName}'", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -12834,25 +11275,13 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -12865,49 +11294,13 @@ "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -12915,78 +11308,99 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "NewComePeople.Actions" + "Person.Manager" ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hire": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" + } } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -12999,54 +11413,30 @@ "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -13057,15 +11447,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName='{lastName}'", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13074,13 +11455,12 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } - } + ], + "nullable": true } } } @@ -13092,22 +11472,19 @@ "x-ms-docs-operation-type": "function" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/NewComePeople/{UserName}/Trips": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Functions" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -13120,109 +11497,33 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName='{userName}'", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of Trip", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -13234,15 +11535,22 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Actions" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -13256,117 +11564,48 @@ } ], "requestBody": { - "description": "New navigation property", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } }, - "default": { - "$ref": "#/components/responses/error" - } + "required": true }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}": { - "get": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - } - ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -13375,15 +11614,23 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, - "patch": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Actions" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", "parameters": [ { "name": "UserName", @@ -13394,27 +11641,24 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "New navigation property values", + "description": "Action parameters", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } } } }, @@ -13428,15 +11672,17 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Actions" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.ShareTrip", "parameters": [ { "name": "UserName", @@ -13447,29 +11693,30 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -13478,16 +11725,22 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ "NewComePeople.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -13500,17 +11753,13 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "lastName", "in": "path", - "description": "key: TripId of Trip", + "description": "Usage: lastName='{lastName}'", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "type": "string" + } } ], "responses": { @@ -13519,19 +11768,11 @@ "content": { "application/json": { "schema": { - "title": "Collection of Trip", "type": "object", "properties": { "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } + "type": "boolean", + "default": false } } } @@ -13543,15 +11784,22 @@ } }, "x-ms-docs-operation-type": "function" - } + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "/NewComePeople/{UserName}/Trips": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Trip" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", "parameters": [ { "name": "UserName", @@ -13563,19 +11811,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, { "$ref": "#/components/parameters/top" }, @@ -13602,16 +11837,22 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", "StartsAt", "StartsAt desc", "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" + "EndsAt desc" ], "type": "string" } @@ -13628,11 +11869,15 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "ConfirmationCode", + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", "StartsAt", "EndsAt", - "Duration" + "PlanItems" ], "type": "string" } @@ -13649,7 +11894,8 @@ "type": "array", "items": { "enum": [ - "*" + "*", + "PlanItems" ], "type": "string" } @@ -13662,13 +11908,13 @@ "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -13681,15 +11927,14 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + }, + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Trip" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", "parameters": [ { "name": "UserName", @@ -13700,97 +11945,26 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", - "in": "path", - "description": "key: PlanItemId of PlanItem", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], - "responses": { - "204": { - "description": "Success" + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } }, - "default": { - "$ref": "#/components/responses/error" - } + "required": true }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property.", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -13798,16 +11972,18 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/NewComePeople/{UserName}/Trips/{TripId}": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Trip" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", "parameters": [ { "name": "UserName", @@ -13833,24 +12009,34 @@ "x-ms-docs-key-type": "Trip" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } }, { - "name": "$orderby", + "name": "$expand", "in": "query", - "description": "Order items by property values", + "description": "Expand related entities", "style": "form", "explode": false, "schema": { @@ -13858,16 +12044,8 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" + "*", + "PlanItems" ], "type": "string" } @@ -13876,20 +12054,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -13900,12 +12069,13 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "patch": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Trip" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", "parameters": [ { "name": "UserName", @@ -13932,41 +12102,33 @@ } ], "requestBody": { - "description": "New navigation property ref value", + "description": "New navigation property values", "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } }, "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + }, + "delete": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "name": "UserName", @@ -13977,36 +12139,93 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } } ], "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/$count": { + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -14014,17 +12233,41 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "function" } }, - "/People": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { "get": { "tags": [ - "People.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, { "$ref": "#/components/parameters/top" }, @@ -14051,28 +12294,16 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -14089,20 +12320,11 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" ], "type": "string" } @@ -14119,10 +12341,7 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "*" ], "type": "string" } @@ -14131,17 +12350,17 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -14152,32 +12371,118 @@ "default": { "$ref": "#/components/responses/error" } - } - }, - "post": { + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "People.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", - "requestBody": { - "description": "New entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + } + ], "responses": { - "201": { - "description": "Created entity", + "200": { + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -14185,17 +12490,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "People.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", "parameters": [ { "name": "UserName", @@ -14208,39 +12512,37 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" }, { - "name": "$expand", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Expand related entities", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -14248,10 +12550,16 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -14260,11 +12568,20 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of links of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -14275,12 +12592,12 @@ }, "x-ms-docs-operation-type": "operation" }, - "patch": { + "post": { "tags": [ - "People.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", "parameters": [ { "name": "UserName", @@ -14291,35 +12608,57 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "requestBody": { - "description": "New property values", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } }, "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", + } + }, + "/NewComePeople/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "parameters": [ { "name": "UserName", @@ -14330,45 +12669,106 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/BestFriend": { + "/NewComePeople/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People": { "get": { "tags": [ "People.Person" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -14423,49 +12823,20 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", + "description": "Retrieved entities", "content": { "application/json": { "schema": { - "type": "string" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -14473,82 +12844,35 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } }, - "put": { + "post": { "tags": [ "People.Person" ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", "requestBody": { - "description": "New navigation property ref values", + "description": "New entity", "content": { "application/json": { "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, "required": true }, "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" + "201": { + "description": "Created entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -14557,13 +12881,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}": { "get": { "tags": [ - "Person.Employee" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", "parameters": [ { "name": "UserName", @@ -14628,209 +12952,11 @@ ], "responses": { "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", + "description": "Retrieved entity", "content": { "application/json": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -14839,29 +12965,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "patch": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", "parameters": [ { "name": "UserName", @@ -14875,22 +12986,11 @@ } ], "requestBody": { - "description": "Action parameters", + "description": "New property values", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, @@ -14904,28 +13004,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "delete": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", "parameters": [ { "name": "UserName", @@ -14938,58 +13024,33 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People/{UserName}/BestFriend": { "get": { "tags": [ - "People.BestFriend.Person" + "People.Person" ], - "summary": "Get Peers from People", - "operationId": "People.BestFriend.ListPeers", + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", "parameters": [ { "name": "UserName", @@ -15001,59 +13062,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, { "name": "$select", "in": "query", @@ -15111,16 +13119,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -15130,19 +13129,52 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "/People/{UserName}/BestFriend/$ref": { + "get": { "tags": [ - "People.BestFriend.Person" + "People.Person" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.BestFriend.DeleteRefPeers", + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", "parameters": [ { "name": "UserName", @@ -15153,9 +13185,42 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref values", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -15171,31 +13236,112 @@ "schema": { "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } }, { - "name": "@id", + "name": "$expand", "in": "query", - "description": "Delete Uri", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + } + } + } }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -15210,11 +13356,16 @@ ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true } } } @@ -15222,16 +13373,25 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ - "People.BestFriend.Person" + "People.Functions" ], - "summary": "Get ref of Peers from People", - "operationId": "People.BestFriend.ListRefPeers", + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -15244,72 +13404,33 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true } } } @@ -15321,14 +13442,24 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.BestFriend.Person" + "People.Actions" ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.BestFriend.CreateRefPeers", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -15342,13 +13473,21 @@ } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -15356,12 +13495,26 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "Success", "content": { "application/json": { "schema": { - "type": "object" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -15370,16 +13523,85 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "People.Actions" + ], + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "People.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -15392,63 +13614,28 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -15456,16 +13643,25 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.BestFriend.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.BestFriend.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "parameters": [ { "name": "UserName", @@ -15608,17 +13804,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.BestFriend.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -15650,197 +13846,16 @@ }, { "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "People.BestFriend.Person" - ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.BestFriend.ListRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.BestFriend.Person" - ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.BestFriend.CreateRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } } ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -15849,13 +13864,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -15870,16 +13882,11 @@ ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -15887,29 +13894,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "People.Functions" + "People.BestFriend.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "parameters": [ { "name": "UserName", @@ -15922,33 +13916,72 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -15960,28 +13993,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "People.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -15995,21 +14014,13 @@ } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -16017,121 +14028,30 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "type": "object" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + }, + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -16144,28 +14064,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -16173,29 +14128,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Friends": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "parameters": [ { "name": "UserName", @@ -16336,15 +14278,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/People/{UserName}/Friends/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -16394,13 +14340,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -16411,9 +14354,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "People.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -16423,9 +14392,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -16434,52 +14418,98 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property links", + "content": { + "application/json": { + "schema": { + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", + "parameters": [ { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "Result entities", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "type": "object" } } } @@ -16487,16 +14517,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -16507,16 +14538,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -16543,24 +14564,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -16572,16 +14589,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "userName", "in": "path", @@ -16598,7 +14605,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -16625,24 +14632,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -16653,16 +14656,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -16693,7 +14686,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -16720,25 +14713,21 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -16749,16 +14738,6 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -16795,24 +14774,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -16824,16 +14799,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "lastName", "in": "path", @@ -16869,24 +14834,20 @@ }, "x-ms-docs-grouped-path": [ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People/{UserName}/Friends": { "get": { "tags": [ - "People.Friends.Person" + "People.Person" ], - "summary": "Get Peers from People", - "operationId": "People.Friends.ListPeers", + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "parameters": [ { "name": "UserName", @@ -16898,16 +14859,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/components/parameters/top" }, @@ -17014,20 +14965,173 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "get": { + "tags": [ + "Person.Employee" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -17035,21 +15139,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { - "delete": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { "tags": [ - "People.Friends.Person" + "People.Functions" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.Friends.DeleteRefPeers", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -17070,49 +15169,46 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + } + ], + "nullable": true + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "tags": [ + "People.Functions" + ], + "summary": "Invoke function GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -17133,15 +15229,38 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "userName", + "in": "path", + "description": "Usage: userName={userName}", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of Employee", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + ], + "nullable": true + } + } + } } } } @@ -17149,16 +15268,25 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "People.Friends.Person" + "People.Actions" ], - "summary": "Get ref of Peers from People", - "operationId": "People.Friends.ListRefPeers", + "summary": "Invoke action GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -17179,74 +15307,48 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } } ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Success", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Employee", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true } } } @@ -17258,14 +15360,25 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + ] + }, + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.Friends.Person" + "People.Actions" ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.Friends.CreateRefPeers", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", "parameters": [ { "name": "UserName", @@ -17289,13 +15402,21 @@ } ], "requestBody": { - "description": "New navigation property ref value", + "description": "Action parameters", "content": { "application/json": { "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + } } } } @@ -17303,30 +15424,31 @@ "required": true }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } + "x-ms-docs-operation-type": "action" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ - "Person.Manager" + "People.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -17349,63 +15471,28 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "lastName", + "in": "path", + "description": "Usage: lastName={lastName}", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "type": "string" } } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "type": "boolean", + "default": false + } + } } } } @@ -17413,16 +15500,25 @@ "default": { "$ref": "#/components/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "function" + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.Friends.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.Friends.ListPeers", "parameters": [ { "name": "UserName", @@ -17575,17 +15671,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { "delete": { "tags": [ "People.Friends.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.Friends.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.Friends.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -17645,10 +15741,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -17688,13 +15784,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.Friends.ListRefDirectReports", + "summary": "Get ref of Peers from People", + "operationId": "People.Friends.ListRefPeers", "parameters": [ { "name": "UserName", @@ -17800,8 +15896,8 @@ "tags": [ "People.Friends.Person" ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.Friends.CreateRefDirectReports", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.Friends.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -17856,13 +15952,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -17883,102 +15979,65 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -17986,29 +16045,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { "tags": [ - "People.Actions" + "People.Friends.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Get DirectReports from People", + "operationId": "People.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -18029,48 +16075,124 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -18082,103 +16204,20 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -18201,55 +16240,47 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", + "name": "UserName2", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "key: UserName of Person", "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -18260,6 +16291,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -18279,13 +16320,13 @@ } } }, - "/People/{UserName}/Friends/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -18297,6 +16338,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -18379,10 +16430,10 @@ }, "post": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", "parameters": [ { "name": "UserName", @@ -18393,6 +16444,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -18427,96 +16488,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } + "People.Functions" ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -18527,35 +16505,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -18591,22 +16543,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -18618,6 +16566,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "userName", "in": "path", @@ -18634,7 +16592,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -18663,22 +16621,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -18689,6 +16643,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -18719,7 +16683,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Manager", "type": "object", "properties": { "value": { @@ -18748,23 +16712,19 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ "People.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", "parameters": [ { "name": "UserName", @@ -18775,6 +16735,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -18813,22 +16783,18 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { "get": { "tags": [ "People.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -18840,6 +16806,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "name": "lastName", "in": "path", @@ -18877,22 +16853,51 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "Person.Manager" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "parameters": [ { "name": "UserName", @@ -18905,9 +16910,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -18916,39 +16936,27 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -18957,11 +16965,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -18969,13 +16986,15 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", "parameters": [ { "name": "UserName", @@ -18988,54 +17007,27 @@ "x-ms-docs-key-type": "Person" } ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" } } } }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "required": true + }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "type": "object" } } } @@ -19044,28 +17036,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.Functions" + "Person.Employee" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -19078,36 +17058,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -19115,29 +17122,13 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -19150,49 +17141,13 @@ "x-ms-docs-key-type": "Person" } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -19200,30 +17155,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -19234,60 +17175,79 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "responses": { + "200": { + "description": "Result entities", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -19298,30 +17258,15 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -19329,21 +17274,8 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { @@ -19477,12 +17409,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { @@ -19549,12 +17477,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -19634,12 +17558,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -19699,12 +17619,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { @@ -19763,12 +17679,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { @@ -20207,12 +18119,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { @@ -20279,12 +18187,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -20364,12 +18268,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { @@ -20894,12 +18794,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { @@ -20966,12 +18862,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { @@ -21051,12 +18943,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { @@ -21168,12 +19056,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { @@ -21232,12 +19116,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { @@ -21297,12 +19177,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" ] }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { @@ -21361,12 +19237,8 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" ] }, "/People/{UserName}/Trips": { @@ -22380,292 +20252,8 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { @@ -22764,290 +20352,6 @@ } } }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/ResetDataSource": { "post": { "tags": [ 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 6032f7d0..f2a87f59 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -745,8 +745,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -785,8 +783,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -833,8 +829,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -870,8 +864,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -906,8 +898,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -1453,8 +1443,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -1493,8 +1481,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -1541,8 +1527,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -1578,8 +1562,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -1614,8 +1596,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -1843,8 +1823,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -1890,8 +1868,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -1946,8 +1922,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -1991,8 +1965,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -2034,8 +2006,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -2670,8 +2640,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() @@ -2717,8 +2685,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' @@ -2773,8 +2739,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip @@ -2818,8 +2782,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip @@ -2861,8 +2823,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' @@ -3033,194 +2993,6 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: @@ -3290,12 +3062,68 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline responses: '200': description: Success @@ -3313,16 +3141,14 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: userName in: path @@ -3336,7 +3162,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -3353,16 +3179,14 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip requestBody: description: Action parameters content: @@ -3384,7 +3208,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -3401,17 +3225,15 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip requestBody: description: Action parameters content: @@ -3438,16 +3260,14 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: lastName in: path @@ -3474,260 +3294,14 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: - get: - tags: - - Me.Person - summary: Get Peers from Me - operationId: Me.ListPeers + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -3977,8 +3551,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': @@ -4017,8 +3589,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: @@ -4065,8 +3635,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: @@ -4380,8 +3948,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': @@ -4420,8 +3986,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: @@ -4468,8 +4032,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: @@ -4530,8 +4092,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': @@ -4566,8 +4126,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: @@ -4603,8 +4161,6 @@ paths: - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': @@ -4639,8 +4195,6 @@ paths: - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/Trips: @@ -5643,8 +5197,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -5688,8 +5240,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -5742,8 +5292,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -5785,8 +5333,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -5826,8 +5372,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: @@ -6458,8 +6002,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -6503,8 +6045,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -6557,8 +6097,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -6600,8 +6138,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -6641,8 +6177,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends': get: @@ -6896,8 +6430,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -6948,8 +6480,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -7009,8 +6539,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -7059,8 +6587,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -7107,8 +6633,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: @@ -7823,8 +7347,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: @@ -7875,8 +7397,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: @@ -7936,8 +7456,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: @@ -7986,8 +7504,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: @@ -8034,8 +7550,6 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/$count': get: @@ -8242,228 +7756,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -8542,12 +7840,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - NewComePeople.Functions summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline parameters: - name: UserName in: path @@ -8573,14 +7871,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - NewComePeople.Functions summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips parameters: - name: UserName in: path @@ -8591,7 +7887,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true schema: type: string @@ -8601,7 +7897,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -8618,14 +7914,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - NewComePeople.Actions summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip parameters: - name: UserName in: path @@ -8655,7 +7949,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -8672,15 +7966,46 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - NewComePeople.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: NewComePeople.Person.ShareTrip parameters: - name: UserName in: path @@ -8715,14 +8040,12 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - NewComePeople.Functions summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName parameters: - name: UserName in: path @@ -8733,7 +8056,7 @@ paths: x-ms-docs-key-type: Person - name: lastName in: path - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string @@ -8756,264 +8079,13 @@ paths: - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Trips': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName=''{userName}''' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - NewComePeople.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - hire: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName=''{lastName}''' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Trips': - get: - tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips parameters: - name: UserName in: path @@ -10106,13 +9178,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -10155,13 +9223,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -10213,13 +9277,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -10260,13 +9320,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -10305,13 +9361,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -10943,13 +9995,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -10992,13 +10040,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -11050,13 +10094,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -11097,13 +10137,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -11142,13 +10178,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends': get: tags: @@ -11401,13 +10433,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -11457,13 +10485,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -11522,13 +10546,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -11576,13 +10596,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -11628,13 +10644,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -12350,13 +11362,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: @@ -12406,13 +11414,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -12471,13 +11475,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -12525,13 +11525,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -12577,13 +11573,9 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -12789,12 +11781,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -12803,189 +11795,59 @@ paths: schema: type: string x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -12994,43 +11856,21 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -13085,36 +11925,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline parameters: - name: UserName in: path @@ -13140,18 +11959,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips parameters: - name: UserName in: path @@ -13172,7 +11987,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -13189,18 +12004,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip parameters: - name: UserName in: path @@ -13230,7 +12041,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Employee type: object properties: value: @@ -13247,19 +12058,15 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: - People.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip parameters: - name: UserName in: path @@ -13294,18 +12101,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: - People.Functions summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName parameters: - name: UserName in: path @@ -13339,18 +12142,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - People.Person + summary: Get Peers from People + operationId: People.ListPeers parameters: - name: UserName in: path @@ -13359,6 +12158,44 @@ paths: schema: type: string x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - name: $select in: query description: Select properties to be returned @@ -13401,19 +12238,187 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + delete: + tags: + - People.Person + summary: Delete ref of navigation property Peers for People + operationId: People.DeleteRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + get: + tags: + - People.Person + summary: Get ref of Peers from People + operationId: People.ListRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - People.Person + summary: Create new navigation property ref to Peers for People + operationId: People.CreateRefPeers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + operationId: People.Person.GetFavoriteAirline parameters: - name: UserName in: path @@ -13439,18 +12444,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + operationId: People.Person.GetFriendsTrips parameters: - name: UserName in: path @@ -13461,7 +12462,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true schema: type: string @@ -13471,7 +12472,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -13488,18 +12489,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + operationId: People.Person.GetPeersForTrip parameters: - name: UserName in: path @@ -13529,7 +12526,7 @@ paths: content: application/json: schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -13546,19 +12543,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + get: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -13567,89 +12559,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - People.Person - summary: Get Peers from People - operationId: People.ListPeers + summary: Get DirectReports from People + operationId: People.ListDirectReports parameters: - name: UserName in: path @@ -13753,14 +12717,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - People.Person - summary: Delete ref of navigation property Peers for People - operationId: People.DeleteRefPeers + summary: Delete ref of navigation property DirectReports for People + operationId: People.DeleteRefDirectReports parameters: - name: UserName in: path @@ -13792,10 +12756,10 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.DirectReports parameters: - name: UserName in: path @@ -13813,12 +12777,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - People.Person - summary: Get ref of Peers from People - operationId: People.ListRefPeers + summary: Get ref of DirectReports from People + operationId: People.ListRefDirectReports parameters: - name: UserName in: path @@ -13884,8 +12848,8 @@ paths: post: tags: - People.Person - summary: Create new navigation property ref to Peers for People - operationId: People.CreateRefPeers + summary: Create new navigation property ref to DirectReports for People + operationId: People.CreateRefDirectReports parameters: - name: UserName in: path @@ -13913,12 +12877,12 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': get: tags: - People.Functions summary: Invoke function GetFavoriteAirline - operationId: People.Person.GetFavoriteAirline + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline parameters: - name: UserName in: path @@ -13944,18 +12908,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': get: tags: - People.Functions summary: Invoke function GetFriendsTrips - operationId: People.Person.GetFriendsTrips + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips parameters: - name: UserName in: path @@ -13966,7 +12926,7 @@ paths: x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName=''{userName}''' + description: 'Usage: userName={userName}' required: true schema: type: string @@ -13976,7 +12936,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -13993,18 +12953,14 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - People.Actions summary: Invoke action GetPeersForTrip - operationId: People.Person.GetPeersForTrip + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip parameters: - name: UserName in: path @@ -14034,7 +12990,7 @@ paths: content: application/json: schema: - title: Collection of Person + title: Collection of Manager type: object properties: value: @@ -14051,18 +13007,15 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - People.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire parameters: - name: UserName in: path @@ -14071,508 +13024,31 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true + required: true responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + '204': + description: Success default: $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': - get: + x-ms-docs-operation-type: action + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: tags: - - People.Person - summary: Get DirectReports from People - operationId: People.ListDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': - delete: - tags: - - People.Person - summary: Delete ref of navigation property DirectReports for People - operationId: People.DeleteRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.DirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': - get: - tags: - - People.Person - summary: Get ref of DirectReports from People - operationId: People.ListRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - People.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - People.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - hire: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + - People.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip parameters: - name: UserName in: path @@ -14607,12 +13083,8 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': get: tags: @@ -14652,12 +13124,8 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -14699,12 +13167,8 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: @@ -14744,12 +13208,8 @@ paths: - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Trips': get: tags: @@ -15347,308 +13807,41 @@ paths: summary: Get the number of the resource operationId: Get.Count.Trips parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /People/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.People - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: lastName + - name: UserName in: path - description: 'Usage: lastName={lastName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + /People/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.People + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: $select in: query @@ -15696,13 +13889,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee responses: '200': description: The count of the resource @@ -15712,204 +13905,75 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager responses: '200': - description: Success + description: The count of the resource content: - application/json: + text/plain: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /ResetDataSource: post: tags: From 68ef1362686f4a29a156791d07f660b270092dc2 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 12:25:07 -0500 Subject: [PATCH 23/28] - fixes a bug where type cast segments would have operations from parent types Signed-off-by: Vincent Biret --- .../Edm/ODataPathProvider.cs | 13 +- .../Resources/TripService.OpenApi.V2.json | 10938 +++++----------- .../Resources/TripService.OpenApi.V2.yaml | 9163 ++++--------- .../Resources/TripService.OpenApi.json | 10340 ++++----------- .../Resources/TripService.OpenApi.yaml | 5603 ++------ 5 files changed, 9688 insertions(+), 26369 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 3361c2bf..f09df0ff 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -507,10 +507,7 @@ bool filter(IEdmNavigationSource z) => .ToList(); foreach (var bindingEntityType in allEntitiesForOperation) - {// Note: one of those is adding operations from parent types on type cast when we don't want that. - //hire is bound to manager -> ok - //GetFavoriteAirline on person -> also added on manager/employee nok - //TODO: this method should not be adding methods from the parent type when a type cast segment is already present. + { // 1. Search for corresponding navigation source path if (AppendBoundOperationOnNavigationSourcePath(edmOperation, isCollection, bindingEntityType)) { @@ -553,6 +550,7 @@ private bool AppendBoundOperationOnNavigationSourcePath(IEdmOperation edmOperati foreach (var subPath in value) { + var lastPathSegment = subPath.LastOrDefault(); var secondLastPathSegment = subPath.Count > 1 ? subPath.ElementAt(subPath.Count - 2) : null; if (subPath.Kind == ODataPathKind.TypeCast && !isCollection && @@ -563,8 +561,11 @@ secondLastPathSegment is not ODataKeySegment && {// we don't want to add operations bound to single elements on type cast segments under collections, only under the key segment, singletons and nav props bound to singles. continue; } - else if ((isCollection && subPath.Kind == ODataPathKind.EntitySet) || - (!isCollection && !_oDataPathKindsToSkipForOperationsWhenSingle.Contains(subPath.Kind))) + else if ((lastPathSegment is not ODataTypeCastSegment castSegment || + castSegment.EntityType == bindingEntityType || + bindingEntityType.InheritsFrom(castSegment.EntityType)) && // we don't want to add operations from the parent types under type cast segments because they already are present without the cast + ((isCollection && subPath.Kind == ODataPathKind.EntitySet) || + (!isCollection && !_oDataPathKindsToSkipForOperationsWhenSingle.Contains(subPath.Kind)))) { ODataPath newPath = subPath.Clone(); newPath.Push(new ODataOperationSegment(edmOperation, isEscapedFunction)); 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 314c8ae7..6da1e87f 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 @@ -942,253 +942,6 @@ } } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ @@ -1872,266 +1625,19 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends": { "get": { "tags": [ - "Me.Functions" + "Me.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Friends": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/top" + "$ref": "#/parameters/top" }, { "$ref": "#/parameters/skip" @@ -2355,13 +1861,13 @@ } } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Me.Functions" + "Me.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get Peers from Me", + "operationId": "Me.Friends.ListPeers", "produces": [ "application/json" ], @@ -2373,304 +1879,15 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } + "$ref": "#/parameters/skip" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "Me.Friends.Person" - ], - "summary": "Get Peers from Me", - "operationId": "Me.Friends.ListPeers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" + "$ref": "#/parameters/search" }, { "$ref": "#/parameters/filter" @@ -3419,86 +2636,97 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } + "text/plain" ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends/$ref": { "get": { "tags": [ - "Me.Functions" + "Me.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get ref of Friends from Me", + "operationId": "Me.ListRefFriends", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -3508,24 +2736,14 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "Me.Actions" + "Me.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to Friends for Me", + "operationId": "Me.CreateRefFriends", "consumes": [ "application/json" ], @@ -3533,185 +2751,102 @@ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, + "201": { + "description": "Created navigation property link.", "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "type": "object" } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Me.Functions" + "Person.Employee" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Friends/$count": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "text/plain" ], @@ -3728,61 +2863,53 @@ } } }, - "/Me/Friends/$ref": { + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Me.Person" + "Person.Manager" ], - "summary": "Get ref of Friends from Me", - "operationId": "Me.ListRefFriends", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -3790,67 +2917,38 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Result entities", "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Person" - ], - "summary": "Create new navigation property ref to Friends for Me", - "operationId": "Me.CreateRefFriends", - "consumes": [ - "application/json" - ], + } + } + }, + "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } + "text/plain" ], "responses": { - "201": { - "description": "Created navigation property link.", + "200": { + "description": "The count of the resource", "schema": { - "type": "object" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -3915,37 +3013,65 @@ } } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Person.Manager" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get Peers from Me", + "operationId": "Me.ListPeers", "produces": [ "application/json" ], "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, { "in": "query", "name": "$select", @@ -3989,21 +3115,75 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "delete": { + "tags": [ + "Me.Person" + ], + "summary": "Delete ref of navigation property Peers for Me", + "operationId": "Me.DeleteRefPeers", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -4020,53 +3200,61 @@ } } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "Person.Employee" + "Me.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of Peers from Me", + "operationId": "Me.ListRefPeers", "produces": [ "application/json" ], "parameters": [ + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, { "in": "query", - "name": "$select", - "description": "Select properties to be returned", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -4074,24 +3262,73 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { "tags": [ - "Me.Functions" + "Me.Person" + ], + "summary": "Create new navigation property ref to Peers for Me", + "operationId": "Me.CreateRefPeers", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New navigation property ref value", + "required": true, + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + ], + "responses": { + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "get": { + "tags": [ + "Me.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "Me.GetFavoriteAirline", "produces": [ "application/json" ], @@ -4107,23 +3344,15 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ "Me.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "Me.GetFriendsTrips", "produces": [ "application/json" ], @@ -4131,7 +3360,7 @@ { "in": "path", "name": "userName", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "type": "string" } @@ -4140,7 +3369,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4157,23 +3386,15 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ "Me.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "Me.GetPeersForTrip", "consumes": [ "application/json" ], @@ -4206,7 +3427,7 @@ "200": { "description": "Success", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -4223,122 +3444,80 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "Me.Actions" + "Person.Manager" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } - } - ], - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ "Me.Person" ], - "summary": "Get Peers from Me", - "operationId": "Me.ListPeers", + "summary": "Get DirectReports from Me", + "operationId": "Me.ListDirectReports", "produces": [ "application/json" ], @@ -4455,17 +3634,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { "delete": { "tags": [ "Me.Person" ], - "summary": "Delete ref of navigation property Peers for Me", - "operationId": "Me.DeleteRefPeers", + "summary": "Delete ref of navigation property DirectReports for Me", + "operationId": "Me.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -4499,10 +3678,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.DirectReports", "produces": [ "text/plain" ], @@ -4519,13 +3698,13 @@ } } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ "Me.Person" ], - "summary": "Get ref of Peers from Me", - "operationId": "Me.ListRefPeers", + "summary": "Get ref of DirectReports from Me", + "operationId": "Me.ListRefDirectReports", "produces": [ "application/json" ], @@ -4605,8 +3784,8 @@ "tags": [ "Me.Person" ], - "summary": "Create new navigation property ref to Peers for Me", - "operationId": "Me.CreateRefPeers", + "summary": "Create new navigation property ref to DirectReports for Me", + "operationId": "Me.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -4641,99 +3820,53 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "Me.Functions" + "Me.Actions" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.GetFavoriteAirline", - "produces": [ + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ "application/json" ], - "responses": { - "200": { - "description": "Success", + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Action parameters", + "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "type": "object", + "properties": { + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "action" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { - "get": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { "tags": [ - "Me.Functions" + "Me.Actions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "Me.ShareTrip", + "consumes": [ "application/json" ], "parameters": [ @@ -4759,108 +3892,63 @@ } ], "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "Person.Manager" + "Me.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function UpdatePersonLastName", + "operationId": "Me.UpdatePersonLastName", "produces": [ "application/json" ], "parameters": [ { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "function" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/Me/Trips": { "get": { "tags": [ - "Me.Person" + "Me.Trip" ], - "summary": "Get DirectReports from Me", - "operationId": "Me.ListDirectReports", + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.ListTrips", "produces": [ "application/json" ], @@ -4887,28 +3975,22 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } @@ -4920,20 +4002,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -4946,9 +4023,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -4958,13 +4033,13 @@ "200": { "description": "Retrieved navigation property", "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -4976,43 +4051,36 @@ }, "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref": { - "delete": { + "post": { "tags": [ - "Me.Person" + "Me.Trip" + ], + "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.CreateTrips", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" ], - "summary": "Delete ref of navigation property DirectReports for Me", - "operationId": "Me.DeleteRefDirectReports", "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New navigation property", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } }, "default": { "$ref": "#/responses/error" @@ -5021,81 +4089,58 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/Me/Trips/{TripId}": { "get": { "tags": [ - "Me.Person" + "Me.Trip" ], - "summary": "Get ref of DirectReports from Me", - "operationId": "Me.ListRefDirectReports", + "summary": "Get Trips from Me", + "description": "Collection of trips.", + "operationId": "Me.GetTrips", "produces": [ "application/json" ], "parameters": [ { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "$ref": "#/parameters/count" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$expand", + "description": "Expand related entities", "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "*", + "PlanItems" ], "type": "string" } @@ -5103,18 +4148,9 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { @@ -5123,108 +4159,119 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "patch": { "tags": [ - "Me.Person" + "Me.Trip" ], - "summary": "Create new navigation property ref to DirectReports for Me", - "operationId": "Me.CreateRefDirectReports", + "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", + "operationId": "Me.UpdateTrips", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "New navigation property values", "required": true, "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "delete": { "tags": [ - "Me.Functions" + "Me.Trip" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" + "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", + "operationId": "Me.DeleteTrips", + "parameters": [ + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ "Me.Functions" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "Me.Trips.Trip.GetInvolvedPeople", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Manager", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -5235,2502 +4282,29 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/Me/Trips/{TripId}/PlanItems": { + "get": { "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "Me.Trips.PlanItem" ], + "summary": "Get PlanItems from Me", + "operationId": "Me.Trips.ListPlanItems", "produces": [ "application/json" ], "parameters": [ { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "hire": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName='{lastName}'", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Trips": { - "get": { - "tags": [ - "Me.Trip" - ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.ListTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Trip" - ], - "summary": "Create new navigation property to Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.CreateTrips", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New navigation property", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - ], - "responses": { - "201": { - "description": "Created navigation property.", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}": { - "get": { - "tags": [ - "Me.Trip" - ], - "summary": "Get Trips from Me", - "description": "Collection of trips.", - "operationId": "Me.GetTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "PlanItems" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { - "tags": [ - "Me.Trip" - ], - "summary": "Update the navigation property Trips in Me", - "description": "Collection of trips.", - "operationId": "Me.UpdateTrips", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "Me.Trip" - ], - "summary": "Delete navigation property Trips for Me", - "description": "Collection of trips.", - "operationId": "Me.DeleteTrips", - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "Me.Trips.Trip.GetInvolvedPeople", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - } - }, - "/Me/Trips/{TripId}/PlanItems": { - "get": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Get PlanItems from Me", - "operationId": "Me.Trips.ListPlanItems", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "title": "Collection of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Delete ref of navigation property PlanItems for Me", - "operationId": "Me.Trips.DeleteRefPlanItems", - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/Me/Trips/{TripId}/PlanItems/$ref": { - "get": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Get ref of PlanItems from Me", - "operationId": "Me.Trips.ListRefPlanItems", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of PlanItem", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "Me.Trips.PlanItem" - ], - "summary": "Create new navigation property ref to PlanItems for Me", - "operationId": "Me.Trips.CreateRefPlanItems", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/Me/Trips/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", - "produces": [ - "text/plain" - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get entities from NewComePeople", - "operationId": "NewComePeople.Person.ListPerson", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved entities", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - } - }, - "post": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Add new entity to NewComePeople", - "operationId": "NewComePeople.Person.CreatePerson", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "body", - "name": "body", - "description": "New entity", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - ], - "responses": { - "201": { - "description": "Created entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get entity from NewComePeople by key", - "operationId": "NewComePeople.Person.GetPerson", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved entity", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Update entity in NewComePeople", - "operationId": "NewComePeople.Person.UpdatePerson", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete entity from NewComePeople", - "operationId": "NewComePeople.Person.DeletePerson", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetBestFriend", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/$ref": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get ref of BestFriend from NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.GetRefBestFriend", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "schema": { - "type": "string" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "put": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Update the ref of navigation property BestFriend in NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.UpdateRefBestFriend", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref values", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete ref of navigation property BestFriend for NewComePeople", - "description": "The best friend.", - "operationId": "NewComePeople.DeleteRefBestFriend", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListPeers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefPeers", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefPeers", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefPeers", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { - "get": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListDirectReports", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { - "delete": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListRefDirectReports", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { "$ref": "#/parameters/top" @@ -7754,28 +4328,44 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*" ], "type": "string" } @@ -7783,15 +4373,15 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -7802,205 +4392,165 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "Me.Trips.PlanItem" ], + "summary": "Delete ref of navigation property PlanItems for Me", + "operationId": "Me.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "body", - "name": "body", - "description": "New navigation property ref value", + "in": "path", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/Me/Trips/{TripId}/PlanItems/$ref": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "Me.Trips.PlanItem" ], + "summary": "Get ref of PlanItems from Me", + "operationId": "Me.Trips.ListRefPlanItems", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -8010,145 +4560,90 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Actions" + "Me.Trips.PlanItem" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Create new navigation property ref to PlanItems for Me", + "operationId": "Me.Trips.CreateRefPlanItems", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/Me/Trips/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } + "text/plain" ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends": { + "/NewComePeople": { "get": { "tags": [ "NewComePeople.Person" - ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, + ], + "summary": "Get entities from NewComePeople", + "operationId": "NewComePeople.Person.ListPerson", + "produces": [ + "application/json" + ], + "parameters": [ { "$ref": "#/parameters/top" }, @@ -8240,7 +4735,7 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved entities", "schema": { "title": "Collection of Person", "type": "object", @@ -8257,50 +4752,37 @@ "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + } + }, + "post": { "tags": [ "NewComePeople.Person" ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", + "summary": "Add new entity to NewComePeople", + "operationId": "NewComePeople.Person.CreatePerson", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "parameters": [ { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New entity", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } }, "default": { "$ref": "#/responses/error" @@ -8309,13 +4791,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}": { "get": { "tags": [ - "Person.Employee" + "NewComePeople.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get entity from NewComePeople by key", + "operationId": "NewComePeople.Person.GetPerson", "produces": [ "application/json" ], @@ -8328,14 +4810,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "query", "name": "$select", @@ -8379,25 +4853,24 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved entity", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { "$ref": "#/responses/error" } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "patch": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ + "summary": "Update entity in NewComePeople", + "operationId": "NewComePeople.Person.UpdatePerson", + "consumes": [ "application/json" ], "parameters": [ @@ -8409,42 +4882,67 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "body", + "name": "body", + "description": "New property values", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete entity from NewComePeople", + "operationId": "NewComePeople.Person.DeletePerson", + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/BestFriend": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetBestFriend", "produces": [ "application/json" ], @@ -8457,62 +4955,103 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/BestFriend/$ref": { + "get": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.GetRefBestFriend", + "produces": [ + "application/json" + ], + "parameters": [ { "in": "path", - "name": "UserName1", + "name": "UserName", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property link", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "type": "string" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "put": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" + "NewComePeople.Person" ], - "produces": [ + "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.UpdateRefBestFriend", + "consumes": [ "application/json" ], "parameters": [ @@ -8524,75 +5063,36 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref values", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" + "NewComePeople.Person" ], + "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", + "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { "in": "path", @@ -8603,32 +5103,10 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" } ], "responses": { @@ -8639,22 +5117,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Employee" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -8668,54 +5140,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListPeers", + "operationId": "NewComePeople.BestFriend.ListPeers", "produces": [ "application/json" ], @@ -8728,14 +5212,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -8848,16 +5324,16 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefPeers", + "operationId": "NewComePeople.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -8875,14 +5351,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName2", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "header", "name": "If-Match", @@ -8907,7 +5375,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", "operationId": "Get.Count.Peers", @@ -8922,14 +5390,6 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -8945,13 +5405,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefPeers", + "operationId": "NewComePeople.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -8964,14 +5424,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -9045,10 +5497,10 @@ }, "post": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefPeers", + "operationId": "NewComePeople.BestFriend.CreateRefPeers", "consumes": [ "application/json" ], @@ -9064,14 +5516,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -9099,7 +5543,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ "Person.Manager" @@ -9118,14 +5562,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "query", "name": "$select", @@ -9180,13 +5616,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListDirectReports", + "operationId": "NewComePeople.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -9199,14 +5635,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -9319,16 +5747,16 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefDirectReports", + "operationId": "NewComePeople.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -9346,14 +5774,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName2", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "header", "name": "If-Match", @@ -9378,7 +5798,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", "operationId": "Get.Count.DirectReports", @@ -9393,14 +5813,6 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" } ], "responses": { @@ -9416,13 +5828,13 @@ } } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefDirectReports", + "operationId": "NewComePeople.BestFriend.ListRefDirectReports", "produces": [ "application/json" ], @@ -9435,14 +5847,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -9516,10 +5920,10 @@ }, "post": { "tags": [ - "NewComePeople.Friends.Person" + "NewComePeople.BestFriend.Person" ], "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefDirectReports", + "operationId": "NewComePeople.BestFriend.CreateRefDirectReports", "consumes": [ "application/json" ], @@ -9535,14 +5939,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "in": "body", "name": "body", @@ -9570,16 +5966,144 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "produces": [ "application/json" ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Person" + ], + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "in": "path", @@ -9596,35 +6120,38 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Functions" + "Person.Employee" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -9646,52 +6173,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "NewComePeople.Friends.Person" ], + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", "produces": [ "application/json" ], @@ -9713,31 +6254,99 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -9753,26 +6362,19 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" + "NewComePeople.Friends.Person" ], + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", "parameters": [ { "in": "path", @@ -9790,109 +6392,42 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName2", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, + "in": "query", + "name": "@id", + "description": "Delete Uri", "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Friends/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -9904,6 +6439,14 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -9919,20 +6462,28 @@ } } }, - "/NewComePeople/{UserName}/Friends/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", "produces": [ "application/json" ], "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", @@ -10011,10 +6562,10 @@ }, "post": { "tags": [ - "NewComePeople.Person" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", "consumes": [ "application/json" ], @@ -10030,6 +6581,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", @@ -10057,13 +6616,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -10076,6 +6635,14 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "query", "name": "$select", @@ -10121,7 +6688,7 @@ "200": { "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { @@ -10130,12 +6697,15 @@ } } }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "tags": [ + "NewComePeople.Friends.Person" + ], + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -10145,40 +6715,63 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, { "in": "query", "name": "$select", @@ -10222,24 +6815,37 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } - } + }, + "x-ms-docs-operation-type": "operation" + }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "produces": [ - "text/plain" + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { + "tags": [ + "NewComePeople.Friends.Person" ], + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -10248,70 +6854,53 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName2", "description": "key: UserName of Person", "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -10324,51 +6913,33 @@ }, { "in": "path", - "name": "userName", - "description": "Usage: userName='{userName}'", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "type": "string" + "type": "string", + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", - "consumes": [ - "application/json" + "NewComePeople.Friends.Person" ], + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "produces": [ "application/json" ], @@ -10382,37 +6953,73 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", + "in": "path", + "name": "UserName1", + "description": "key: UserName of Person", "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -10422,26 +7029,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Friends.Person" ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -10451,47 +7052,9 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "hire": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", + "name": "UserName1", "description": "key: UserName of Person", "required": true, "type": "string", @@ -10500,50 +7063,36 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { + "/NewComePeople/{UserName}/Friends/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -10553,49 +7102,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName='{lastName}'", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/NewComePeople/{UserName}/Trips": { + "/NewComePeople/{UserName}/Friends/$ref": { "get": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Person" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", "produces": [ "application/json" ], @@ -10605,80 +7133,53 @@ "name": "UserName", "description": "key: UserName of Person", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } + "type": "string", + "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" - ], - "type": "string" - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" }, { "in": "query", - "name": "$expand", - "description": "Expand related entities", + "name": "$orderby", + "description": "Order items by property values", "type": "array", "items": { "enum": [ - "*", - "PlanItems" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -10686,15 +7187,15 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Trip", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -10708,11 +7209,10 @@ }, "post": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Person" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", "consumes": [ "application/json" ], @@ -10731,18 +7231,21 @@ { "in": "body", "name": "body", - "description": "New navigation property", + "description": "New navigation property ref value", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object", + "additionalProperties": { + "type": "object" + } } } ], "responses": { "201": { - "description": "Created navigation property.", + "description": "Created navigation property link.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "object" } }, "default": { @@ -10752,14 +7255,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Trip" + "Person.Employee" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -10772,17 +7274,6 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "in": "query", "name": "$select", @@ -10790,15 +7281,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -10811,7 +7307,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -10819,25 +7317,55 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "patch": { + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "produces": [ + "text/plain" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } + }, + "default": { + "$ref": "#/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "NewComePeople.Trip" + "Person.Manager" ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", - "consumes": [ + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ "application/json" ], "parameters": [ @@ -10850,43 +7378,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "body", - "name": "body", - "description": "New navigation property values", - "required": true, - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "NewComePeople.Trip" + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "produces": [ + "text/plain" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "in": "path", @@ -10895,43 +7446,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ "NewComePeople.Functions" ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Invoke function GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", "produces": [ "application/json" ], @@ -10943,33 +7479,13 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { "description": "Success", "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" } }, "default": { @@ -10979,13 +7495,13 @@ "x-ms-docs-operation-type": "function" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Functions" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Invoke function GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", "produces": [ "application/json" ], @@ -11000,91 +7516,23 @@ }, { "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "name": "userName", + "description": "Usage: userName='{userName}'", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*" - ], - "type": "string" - } + "type": "string" } ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Success", "schema": { - "title": "Collection of PlanItem", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -11094,77 +7542,21 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "function" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "in": "path", - "name": "PlanItemId", - "description": "key: PlanItemId of PlanItem", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "PlanItem" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } + "summary": "Invoke action GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", + "consumes": [ + "application/json" ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -11176,38 +7568,58 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" + "schema": { + "type": "object", + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "action" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { - "get": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", - "produces": [ + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "consumes": [ "application/json" ], "parameters": [ @@ -11220,87 +7632,42 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", + "in": "body", + "name": "body", + "description": "Action parameters", "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", "schema": { - "title": "Collection of links of PlanItem", "type": "object", "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Actions" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", + "operationId": "NewComePeople.Person.ShareTrip", "consumes": [ "application/json" ], - "produces": [ - "application/json" - ], "parameters": [ { "in": "path", @@ -11310,50 +7677,47 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "in": "path", - "name": "TripId", - "description": "key: TripId of Trip", - "required": true, - "type": "integer", - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "x-ms-docs-key-type": "Trip" - }, { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "Action parameters", "required": true, "schema": { "type": "object", - "additionalProperties": { - "type": "object" + "properties": { + "userName": { + "type": "string" + }, + "tripId": { + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer" + } } } } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" + "x-ms-docs-operation-type": "action" } }, - "/NewComePeople/{UserName}/Trips/$count": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "tags": [ + "NewComePeople.Functions" + ], + "summary": "Invoke function UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", "produces": [ - "text/plain" + "application/json" ], "parameters": [ { @@ -11363,52 +7727,55 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } }, - "default": { - "$ref": "#/responses/error" + { + "in": "path", + "name": "lastName", + "description": "Usage: lastName='{lastName}'", + "required": true, + "type": "string" } - } - } - }, - "/NewComePeople/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", - "produces": [ - "text/plain" ], "responses": { "200": { - "description": "The count of the resource", + "description": "Success", "schema": { - "$ref": "#/definitions/ODataCountResponse" + "type": "object", + "properties": { + "value": { + "default": false, + "type": "boolean" + } + } } }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "function" } }, - "/People": { + "/NewComePeople/{UserName}/Trips": { "get": { "tags": [ - "People.Person" + "NewComePeople.Trip" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", "produces": [ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/parameters/top" }, @@ -11431,28 +7798,22 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" ], "type": "string" } @@ -11464,20 +7825,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -11490,9 +7846,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -11500,15 +7854,15 @@ ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Person", + "title": "Collection of Trip", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -11517,14 +7871,16 @@ "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" }, "post": { "tags": [ - "People.Person" + "NewComePeople.Trip" ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", "consumes": [ "application/json" ], @@ -11532,21 +7888,29 @@ "application/json" ], "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, { "in": "body", "name": "body", - "description": "New entity", + "description": "New navigation property", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } ], "responses": { "201": { - "description": "Created entity", + "description": "Created navigation property.", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { @@ -11556,13 +7920,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}": { + "/NewComePeople/{UserName}/Trips/{TripId}": { "get": { "tags": [ - "People.Person" + "NewComePeople.Trip" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", "produces": [ "application/json" ], @@ -11575,6 +7940,17 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "query", "name": "$select", @@ -11582,20 +7958,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -11608,9 +7979,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -11618,9 +7987,9 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } }, "default": { @@ -11631,10 +8000,11 @@ }, "patch": { "tags": [ - "People.Person" + "NewComePeople.Trip" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", "consumes": [ "application/json" ], @@ -11647,13 +8017,24 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "body", "name": "body", - "description": "New property values", + "description": "New navigation property values", "required": true, "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } ], @@ -11669,10 +8050,11 @@ }, "delete": { "tags": [ - "People.Person" + "NewComePeople.Trip" ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "in": "path", @@ -11682,6 +8064,17 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "header", "name": "If-Match", @@ -11700,14 +8093,67 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend": { + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ - "People.Person" + "NewComePeople.Functions" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "function" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "get": { + "tags": [ + "NewComePeople.Trips.PlanItem" + ], + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", "produces": [ "application/json" ], @@ -11720,6 +8166,53 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, + { + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } + }, { "in": "query", "name": "$select", @@ -11727,20 +8220,11 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" ], "type": "string" } @@ -11752,10 +8236,7 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "*" ], "type": "string" } @@ -11765,7 +8246,16 @@ "200": { "description": "Retrieved navigation property", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of PlanItem", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + } + } + } } }, "default": { @@ -11775,17 +8265,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/$ref": { - "get": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { + "delete": { "tags": [ - "People.Person" - ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", - "produces": [ - "application/json" + "NewComePeople.Trips.PlanItem" ], + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", "parameters": [ { "in": "path", @@ -11794,84 +8280,40 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property link", - "schema": { - "type": "string" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "put": { - "tags": [ - "People.Person" - ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", - "consumes": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref values", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "204": { - "description": "Success" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", - "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "PlanItemId", + "description": "key: PlanItemId of PlanItem", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "PlanItem" }, { "in": "header", "name": "If-Match", "description": "ETag", "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -11885,15 +8327,12 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the number of the resource", + "operationId": "Get.Count.PlanItems", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -11905,51 +8344,22 @@ "x-ms-docs-key-type": "Person" }, { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Result entities", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { @@ -11958,13 +8368,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "People.Functions" + "NewComePeople.Trips.PlanItem" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", "produces": [ "application/json" ], @@ -11976,68 +8386,66 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ { "in": "path", - "name": "UserName", - "description": "key: UserName of Person", + "name": "TripId", + "description": "key: TripId of Trip", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" }, { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Employee", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "type": "string" } } } @@ -12047,24 +8455,14 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "NewComePeople.Trips.PlanItem" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", "consumes": [ "application/json" ], @@ -12080,68 +8478,50 @@ "type": "string", "x-ms-docs-key-type": "Person" }, + { + "in": "path", + "name": "TripId", + "description": "key: TripId of Trip", + "required": true, + "type": "integer", + "format": "int32", + "maximum": 2147483647, + "minimum": -2147483648, + "x-ms-docs-key-type": "Trip" + }, { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" + "/NewComePeople/{UserName}/Trips/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", + "produces": [ + "text/plain" ], "parameters": [ { @@ -12151,121 +8531,52 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } } ], "responses": { - "204": { - "description": "Success" + "200": { + "description": "The count of the resource", + "schema": { + "$ref": "#/definitions/ODataCountResponse" + } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } + "text/plain" ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People": { "get": { "tags": [ - "People.BestFriend.Person" + "People.Person" ], - "summary": "Get Peers from People", - "operationId": "People.BestFriend.ListPeers", + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", "produces": [ "application/json" ], "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/parameters/top" }, @@ -12357,18 +8668,127 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved entities", + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } + } + }, + "default": { + "$ref": "#/responses/error" + } + } + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "New entity", + "required": true, + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + ], + "responses": { + "201": { + "description": "Created entity", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Retrieved entity", "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { @@ -12377,18 +8797,15 @@ }, "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "patch": { "tags": [ - "People.BestFriend.Person" + "People.Person" + ], + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", + "consumes": [ + "application/json" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -12399,24 +8816,13 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", + "in": "body", + "name": "body", + "description": "New property values", "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } ], "responses": { @@ -12428,15 +8834,13 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "produces": [ - "text/plain" + }, + "delete": { + "tags": [ + "People.Person" ], + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", "parameters": [ { "in": "path", @@ -12445,28 +8849,33 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" } ], "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "/People/{UserName}/BestFriend": { "get": { "tags": [ - "People.BestFriend.Person" + "People.Person" ], - "summary": "Get ref of Peers from People", - "operationId": "People.BestFriend.ListRefPeers", + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", "produces": [ "application/json" ], @@ -12479,50 +8888,42 @@ "type": "string", "x-ms-docs-key-type": "Person" }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, { "in": "query", - "name": "$orderby", - "description": "Order items by property values", + "name": "$select", + "description": "Select properties to be returned", "type": "array", "items": { "enum": [ "UserName", - "UserName desc", "FirstName", - "FirstName desc", "LastName", - "LastName desc", "MiddleName", - "MiddleName desc", "Gender", - "Gender desc", "Age", - "Age desc", "Emails", - "Emails desc", "AddressInfo", - "AddressInfo desc", "HomeAddress", - "HomeAddress desc", "FavoriteFeature", - "FavoriteFeature desc", "Features", - "Features desc" + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -12530,18 +8931,9 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } }, "default": { @@ -12549,17 +8941,50 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/People/{UserName}/BestFriend/$ref": { + "get": { "tags": [ - "People.BestFriend.Person" + "People.Person" ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.BestFriend.CreateRefPeers", - "consumes": [ + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", + "produces": [ "application/json" ], - "produces": [ + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "schema": { + "type": "string" + } + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", + "consumes": [ "application/json" ], "parameters": [ @@ -12574,7 +8999,7 @@ { "in": "body", "name": "body", - "description": "New navigation property ref value", + "description": "New navigation property ref values", "required": true, "schema": { "type": "object", @@ -12585,11 +9010,41 @@ } ], "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ + { + "in": "path", + "name": "UserName", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" @@ -12598,13 +9053,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Person.Manager" + "Person.Employee" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -12662,7 +9117,7 @@ "200": { "description": "Result entities", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { @@ -12671,13 +9126,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.BestFriend.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.BestFriend.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "produces": [ "application/json" ], @@ -12802,17 +9257,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { "delete": { "tags": [ "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.BestFriend.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "in": "path", @@ -12854,10 +9309,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "produces": [ "text/plain" ], @@ -12884,13 +9339,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "People.BestFriend.Person" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.BestFriend.ListRefDirectReports", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "produces": [ "application/json" ], @@ -12978,8 +9433,8 @@ "tags": [ "People.BestFriend.Person" ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.BestFriend.CreateRefDirectReports", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", "consumes": [ "application/json" ], @@ -13019,250 +9474,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "produces": [ "application/json" ], @@ -13276,48 +9497,66 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Friends": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "produces": [ "application/json" ], @@ -13440,15 +9679,19 @@ } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/People/{UserName}/Friends/{UserName1}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "People.Person" + "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -13490,15 +9733,12 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -13508,61 +9748,13 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "query", - "name": "$select", - "description": "Select properties to be returned", - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } } ], "responses": { "200": { - "description": "Result entities", + "description": "The count of the resource", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/definitions/ODataCountResponse" } }, "default": { @@ -13571,13 +9763,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Functions" + "People.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", "produces": [ "application/json" ], @@ -13591,43 +9783,85 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "post": { "tags": [ - "People.Functions" + "People.BestFriend.Person" + ], + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", + "consumes": [ + "application/json" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", "produces": [ "application/json" ], @@ -13641,62 +9875,39 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", + "in": "body", + "name": "body", + "description": "New navigation property ref value", "required": true, - "type": "string" + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } } ], "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends": { + "get": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" + "People.Person" ], + "summary": "Get Friends from People", + "operationId": "People.ListFriends", "produces": [ "application/json" ], @@ -13710,39 +9921,99 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "$ref": "#/parameters/top" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -13758,28 +10029,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" + "People.Person" ], + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", "parameters": [ { "in": "path", @@ -13798,24 +10057,16 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { @@ -13826,24 +10077,16 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.Functions" + "Person.Employee" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "produces": [ "application/json" ], @@ -13865,40 +10108,58 @@ "x-ms-docs-key-type": "Person" }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$select", + "description": "Select properties to be returned", + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + }, + { + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "200": { + "description": "Result entities", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { @@ -14500,279 +10761,28 @@ "items": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { - "delete": { - "tags": [ - "People.Friends.Person" - ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.Friends.DeleteRefDirectReports", - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName2", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "header", - "name": "If-Match", - "description": "ETag", - "type": "string" - }, - { - "in": "query", - "name": "@id", - "description": "Delete Uri", - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "People.Friends.Person" - ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.Friends.ListRefDirectReports", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.Friends.Person" - ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.Friends.CreateRefDirectReports", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" + } } } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } }, "default": { "$ref": "#/responses/error" } }, "x-ms-docs-operation-type": "operation" - } + }, + "x-ms-docs-grouped-path": [ + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" + "People.Friends.Person" ], + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "in": "path", @@ -14789,39 +10799,45 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" + }, + { + "in": "path", + "name": "UserName2", + "description": "key: UserName of Person", + "required": true, + "type": "string", + "x-ms-docs-key-type": "Person" + }, + { + "in": "header", + "name": "If-Match", + "description": "ETag", + "type": "string" + }, + { + "in": "query", + "name": "@id", + "description": "Delete Uri", + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } + "204": { + "description": "Success" }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -14839,56 +10855,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "People.Friends.Person" ], + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "produces": [ "application/json" ], @@ -14910,37 +10898,65 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -14950,28 +10966,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.Actions" + "People.Friends.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -14992,105 +11000,29 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "UserName1", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "type": "object" } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, "/People/{UserName}/Friends/$count": { "get": { @@ -15504,329 +11436,40 @@ "FavoriteFeature", "Features", "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - }, - { - "in": "query", - "name": "$expand", - "description": "Expand related entities", - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "consumes": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" + "BestFriend", + "Trips" + ], + "type": "string" + } }, { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" + "in": "query", + "name": "$expand", + "description": "Expand related entities", + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { @@ -16211,15 +11854,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { @@ -16269,15 +11904,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { @@ -16343,15 +11970,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { @@ -16611,223 +12230,10 @@ }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "produces": [ - "text/plain" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "schema": { - "$ref": "#/definitions/ODataCountResponse" - } - }, - "default": { - "$ref": "#/responses/error" - } - } - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.ListRefDirectReports", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/parameters/top" - }, - { - "$ref": "#/parameters/skip" - }, - { - "$ref": "#/parameters/search" - }, - { - "$ref": "#/parameters/filter" - }, - { - "$ref": "#/parameters/count" - }, - { - "in": "query", - "name": "$orderby", - "description": "Order items by property values", - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.Person" - ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.CreateRefDirectReports", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "body", - "name": "body", - "description": "New navigation property ref value", - "required": true, - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - ], - "responses": { - "201": { - "description": "Created navigation property link.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", + "summary": "Get the number of the resource", + "operationId": "Get.Count.DirectReports", "produces": [ - "application/json" + "text/plain" ], "parameters": [ { @@ -16837,56 +12243,28 @@ "required": true, "type": "string", "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "userName", - "description": "Usage: userName={userName}", - "required": true, - "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/definitions/ODataCountResponse" } }, "default": { "$ref": "#/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "consumes": [ - "application/json" + "People.Person" ], + "summary": "Get ref of DirectReports from People", + "operationId": "People.ListRefDirectReports", "produces": [ "application/json" ], @@ -16900,37 +12278,65 @@ "x-ms-docs-key-type": "Person" }, { - "in": "body", - "name": "body", - "description": "Action parameters", - "required": true, - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" - } - } + "$ref": "#/parameters/top" + }, + { + "$ref": "#/parameters/skip" + }, + { + "$ref": "#/parameters/search" + }, + { + "$ref": "#/parameters/filter" + }, + { + "$ref": "#/parameters/count" + }, + { + "in": "query", + "name": "$orderby", + "description": "Order items by property values", + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -16940,28 +12346,20 @@ "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.CreateRefDirectReports", "consumes": [ "application/json" ], + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -16974,37 +12372,38 @@ { "in": "body", "name": "body", - "description": "Action parameters", + "description": "New navigation property ref value", "required": true, "schema": { "type": "object", - "properties": { - "hire": { - "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } + "additionalProperties": { + "type": "object" } } } ], "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "schema": { + "type": "object" + } }, "default": { "$ref": "#/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ "People.Actions" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", "consumes": [ "application/json" ], @@ -17025,14 +12424,8 @@ "schema": { "type": "object", "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "format": "int32", - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer" + "hire": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -17047,70 +12440,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "UserName", - "description": "key: UserName of Person", - "required": true, - "type": "string", - "x-ms-docs-key-type": "Person" - }, - { - "in": "path", - "name": "lastName", - "description": "Usage: lastName={lastName}", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "object", - "properties": { - "value": { - "default": false, - "type": "boolean" - } - } - } - }, - "default": { - "$ref": "#/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { @@ -17162,15 +12492,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { @@ -17217,15 +12539,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } }, "/People/{UserName}/Trips": { "get": { @@ -18902,14 +14216,6 @@ { "name": "Person.Employee" }, - { - "name": "Me.Functions", - "x-ms-docs-toc-type": "container" - }, - { - "name": "Me.Actions", - "x-ms-docs-toc-type": "container" - }, { "name": "Me.BestFriend.Person", "x-ms-docs-toc-type": "page" @@ -18921,6 +14227,14 @@ "name": "Me.Friends.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "Me.Functions", + "x-ms-docs-toc-type": "container" + }, + { + "name": "Me.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" @@ -18933,6 +14247,14 @@ "name": "NewComePeople.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "NewComePeople.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "NewComePeople.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "NewComePeople.Functions", "x-ms-docs-toc-type": "container" @@ -18942,23 +14264,23 @@ "x-ms-docs-toc-type": "container" }, { - "name": "NewComePeople.BestFriend.Person", + "name": "NewComePeople.Trip", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Friends.Person", + "name": "NewComePeople.Trips.PlanItem", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Trip", + "name": "People.Person", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Trips.PlanItem", + "name": "People.BestFriend.Person", "x-ms-docs-toc-type": "page" }, { - "name": "People.Person", + "name": "People.Friends.Person", "x-ms-docs-toc-type": "page" }, { @@ -18969,14 +14291,6 @@ "name": "People.Actions", "x-ms-docs-toc-type": "container" }, - { - "name": "People.BestFriend.Person", - "x-ms-docs-toc-type": "page" - }, - { - "name": "People.Friends.Person", - "x-ms-docs-toc-type": "page" - }, { "name": "People.Trip", "x-ms-docs-toc-type": "page" 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 a02b53fc..34218279 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 @@ -642,180 +642,6 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: @@ -1294,189 +1120,191 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Friends: get: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends produces: - application/json + parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/$ref': + delete: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json + - Me.Person + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends parameters: - in: path - name: userName - description: 'Usage: userName={userName}' + name: UserName + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '200': + '204': description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: - - in: body - name: body - description: Action parameters + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: string + x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true + description: Result entities schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Me.Friends.Person + summary: Get Peers from Me + operationId: Me.Friends.ListPeers produces: - application/json parameters: - in: path - name: lastName - description: 'Usage: lastName={lastName}' + name: UserName + description: 'key: UserName of Person' required: true type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends: - get: - tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends - produces: - - application/json - parameters: + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -1557,12 +1385,15 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': delete: tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends + - Me.Friends.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.Friends.DeleteRefPeers parameters: - in: path name: UserName @@ -1570,6 +1401,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: header name: If-Match description: ETag @@ -1584,12 +1421,32 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Friends.Person + summary: Get ref of Peers from Me + operationId: Me.Friends.ListRefPeers produces: - application/json parameters: @@ -1599,51 +1456,61 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + post: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - Me.Friends.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.Friends.CreateRefPeers + consumes: + - application/json produces: - application/json parameters: @@ -1653,27 +1520,28 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -1683,172 +1551,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - Me.Friends.Person - summary: Get Peers from Me - operationId: Me.Friends.ListPeers + summary: Get DirectReports from Me + operationId: Me.Friends.ListDirectReports produces: - application/json parameters: @@ -1939,14 +1686,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - Me.Friends.Person - summary: Delete ref of navigation property Peers for Me - operationId: Me.Friends.DeleteRefPeers + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.Friends.DeleteRefDirectReports parameters: - in: path name: UserName @@ -1974,10 +1721,10 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.DirectReports produces: - text/plain parameters: @@ -1994,12 +1741,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - Me.Friends.Person - summary: Get ref of Peers from Me - operationId: Me.Friends.ListRefPeers + summary: Get ref of DirectReports from Me + operationId: Me.Friends.ListRefDirectReports produces: - application/json parameters: @@ -2060,8 +1807,8 @@ paths: post: tags: - Me.Friends.Person - summary: Create new navigation property ref to Peers for Me - operationId: Me.Friends.CreateRefPeers + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.Friends.CreateRefDirectReports consumes: - application/json produces: @@ -2089,75 +1836,28 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + /Me/Friends/$count: get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + summary: Get the number of the resource + operationId: Get.Count.Friends produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + - text/plain responses: '200': - description: Result entities + description: The count of the resource schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + /Me/Friends/$ref: get: tags: - - Me.Friends.Person - summary: Get DirectReports from Me - operationId: Me.Friends.ListDirectReports + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -2192,18 +1892,67 @@ paths: - Features - Features desc type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age + responses: + '200': + description: Retrieved navigation property links + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object + responses: + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age - Emails - AddressInfo - HomeAddress @@ -2226,67 +1975,78 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': - delete: + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: tags: - - Me.Friends.Person - summary: Delete ref of navigation property DirectReports for Me - operationId: Me.Friends.DeleteRefDirectReports + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - in: query - name: '@id' - description: Delete Uri - type: string + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -2294,21 +2054,63 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Me.Friends.Person - summary: Get ref of DirectReports from Me - operationId: Me.Friends.ListRefDirectReports + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + get: + tags: + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -2343,159 +2145,43 @@ paths: - Features - Features desc type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Friends.Person - summary: Create new navigation property ref to DirectReports for Me - operationId: Me.Friends.CreateRefDirectReports - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -2504,23 +2190,16 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': + delete: tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json + - Me.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.DeleteRefPeers parameters: - in: path name: UserName @@ -2528,76 +2207,24 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true + - in: header + name: If-Match + description: ETag type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true + - in: query + name: '@id' + description: Delete Uri type: string responses: - '200': + '204': description: Success - schema: - type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/$count: + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Peers produces: - text/plain responses: @@ -2607,12 +2234,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /Me/Friends/$ref: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: get: tags: - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends + summary: Get ref of Peers from Me + operationId: Me.ListRefPeers produces: - application/json parameters: @@ -2667,8 +2294,8 @@ paths: post: tags: - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends + summary: Create new navigation property ref to Peers for Me + operationId: Me.CreateRefPeers consumes: - application/json produces: @@ -2690,68 +2317,90 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Functions + summary: Invoke function GetFavoriteAirline + operationId: Me.GetFavoriteAirline + produces: + - application/json + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - Me.Functions + summary: Invoke function GetFriendsTrips + operationId: Me.GetFriendsTrips produces: - application/json parameters: - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string responses: '200': - description: Result entities + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + x-ms-docs-operation-type: function + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + post: + tags: + - Me.Actions + summary: Invoke action GetPeersForTrip + operationId: Me.GetPeersForTrip + consumes: + - application/json produces: - - text/plain + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: '200': - description: The count of the resource + description: Success schema: - $ref: '#/definitions/ODataCountResponse' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + x-ms-docs-operation-type: action + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - Person.Manager @@ -2799,28 +2448,49 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Person + summary: Get DirectReports from Me + operationId: Me.ListDirectReports produces: - application/json parameters: + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - in: query name: $select description: Select properties to be returned @@ -2855,75 +2525,123 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline + - Me.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.DeleteRefDirectReports + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain responses: '200': - description: Success + description: The count of the resource schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + - Me.Person + summary: Get ref of DirectReports from Me + operationId: Me.ListRefDirectReports produces: - application/json parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Employee + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-operation-type: operation post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - Me.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.CreateRefDirectReports consumes: - application/json produces: @@ -2931,46 +2649,52 @@ paths: parameters: - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. + schema: + type: object + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: + post: + tags: + - Me.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: body + name: body + description: Action parameters + required: true schema: - title: Collection of Employee type: object properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: Me.ShareTrip consumes: - application/json parameters: @@ -2994,25 +2718,18 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: Me.UpdatePersonLastName produces: - application/json parameters: - in: path name: lastName - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true type: string responses: @@ -3027,19 +2744,13 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + /Me/Trips: get: tags: - - Me.Person - summary: Get Peers from Me - operationId: Me.ListPeers + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips produces: - application/json parameters: @@ -3054,28 +2765,22 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc type: string - in: query name: $select @@ -3083,20 +2788,15 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - in: query name: $expand @@ -3105,238 +2805,178 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips + - PlanItems type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of Person + title: Collection of Trip type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': - delete: + post: tags: - - Me.Person - summary: Delete ref of navigation property Peers for Me - operationId: Me.DeleteRefPeers + - Me.Trip + summary: Create new navigation property to Trips for Me + description: Collection of trips. + operationId: Me.CreateTrips + consumes: + - application/json + produces: + - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' + - in: body + name: body + description: New navigation property required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Peers - produces: - - text/plain + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '200': - description: The count of the resource + '201': + description: Created navigation property. schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}': get: tags: - - Me.Person - summary: Get ref of Peers from Me - operationId: Me.ListRefPeers + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.GetTrips produces: - application/json parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - PlanItems type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + patch: tags: - - Me.Person - summary: Create new navigation property ref to Peers for Me - operationId: Me.CreateRefPeers - consumes: - - application/json - produces: + - Me.Trip + summary: Update the navigation property Trips in Me + description: Collection of trips. + operationId: Me.UpdateTrips + consumes: - application/json parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property ref value + description: New navigation property values required: true schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline - produces: - - application/json + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '200': + '204': description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: + x-ms-docs-operation-type: operation + delete: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips - produces: - - application/json + - Me.Trip + summary: Delete navigation property Trips for Me + description: Collection of trips. + operationId: Me.DeleteTrips parameters: - in: path - name: userName - description: 'Usage: userName=''{userName}''' + name: TripId + description: 'key: TripId of Trip' required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: header + name: If-Match + description: ETag type: string responses: - '200': + '204': description: Success - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: + x-ms-docs-operation-type: operation + '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip - consumes: - - application/json + - Me.Functions + summary: Invoke function GetInvolvedPeople + operationId: Me.Trips.Trip.GetInvolvedPeople produces: - application/json parameters: - - in: body - name: body - description: Action parameters + - in: path + name: TripId + description: 'key: TripId of Trip' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': description: Success schema: - title: Collection of Person + title: Collection of Trip type: object properties: value: @@ -3345,71 +2985,25 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - application/json - parameters: - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: + x-ms-docs-operation-type: function + '/Me/Trips/{TripId}/PlanItems': get: tags: - - Me.Person - summary: Get DirectReports from Me - operationId: Me.ListDirectReports + - Me.Trips.PlanItem + summary: Get PlanItems from Me + operationId: Me.Trips.ListPlanItems produces: - application/json parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -3421,28 +3015,16 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc type: string - in: query name: $select @@ -3450,20 +3032,11 @@ paths: type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration type: string - in: query name: $expand @@ -3472,40 +3045,46 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips type: string responses: '200': description: Retrieved navigation property schema: - title: Collection of Person + title: Collection of PlanItem type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': delete: tags: - - Me.Person - summary: Delete ref of navigation property DirectReports for Me - operationId: Me.DeleteRefDirectReports + - Me.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for Me + operationId: Me.Trips.DeleteRefPlanItems parameters: - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem - in: header name: If-Match description: ETag @@ -3520,12 +3099,22 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: + '/Me/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.PlanItems produces: - text/plain + parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': description: The count of the resource @@ -3533,15 +3122,24 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: + '/Me/Trips/{TripId}/PlanItems/$ref': get: tags: - - Me.Person - summary: Get ref of DirectReports from Me - operationId: Me.ListRefDirectReports + - Me.Trips.PlanItem + summary: Get ref of PlanItems from Me + operationId: Me.Trips.ListRefPlanItems produces: - application/json parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -3553,34 +3151,22 @@ paths: type: array items: enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc type: string responses: '200': description: Retrieved navigation property links schema: - title: Collection of links of Person + title: Collection of links of PlanItem type: object properties: value: @@ -3592,14 +3178,23 @@ paths: x-ms-docs-operation-type: operation post: tags: - - Me.Person - summary: Create new navigation property ref to DirectReports for Me - operationId: Me.CreateRefDirectReports + - Me.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for Me + operationId: Me.Trips.CreateRefPlanItems consumes: - application/json produces: - application/json parameters: + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body description: New navigation property ref value @@ -3616,70 +3211,112 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): + /Me/Trips/$count: get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + summary: Get the number of the resource + operationId: Get.Count.Trips produces: - - application/json + - text/plain responses: '200': - description: Success + description: The count of the resource schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + /NewComePeople: get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - NewComePeople.Person + summary: Get entities from NewComePeople + operationId: NewComePeople.Person.ListPerson produces: - application/json parameters: - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved entities schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip + - NewComePeople.Person + summary: Add new entity to NewComePeople + operationId: NewComePeople.Person.CreatePerson consumes: - application/json produces: @@ -3687,2487 +3324,33 @@ paths: parameters: - in: body name: body - description: Action parameters + description: New entity required: true schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: - '200': - description: Success + '201': + description: Created entity schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: - post: + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}': + get: tags: - - Me.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: + - NewComePeople.Person + summary: Get entity from NewComePeople by key + operationId: NewComePeople.Person.GetPerson + produces: - application/json parameters: - - in: body - name: body - description: Action parameters + - in: path + name: UserName + description: 'key: UserName of Person' required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.ShareTrip - consumes: - - application/json - parameters: - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Trips: - get: - tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips - produces: - - application/json - parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Trip - summary: Create new navigation property to Trips for Me - description: Collection of trips. - operationId: Me.CreateTrips - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: New navigation property - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '201': - description: Created navigation property. - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}': - get: - tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.GetTrips - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems - type: string - responses: - '200': - description: Retrieved navigation property - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - Me.Trip - summary: Update the navigation property Trips in Me - description: Collection of trips. - operationId: Me.UpdateTrips - consumes: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - Me.Trip - summary: Delete navigation property Trips for Me - description: Collection of trips. - operationId: Me.DeleteTrips - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': - get: - tags: - - Me.Functions - summary: Invoke function GetInvolvedPeople - operationId: Me.Trips.Trip.GetInvolvedPeople - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - responses: - '200': - description: Success - schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - '/Me/Trips/{TripId}/PlanItems': - get: - tags: - - Me.Trips.PlanItem - summary: Get PlanItems from Me - operationId: Me.Trips.ListPlanItems - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of PlanItem - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: - tags: - - Me.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for Me - operationId: Me.Trips.DeleteRefPlanItems - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/Me/Trips/{TripId}/PlanItems/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.PlanItems - produces: - - text/plain - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/Me/Trips/{TripId}/PlanItems/$ref': - get: - tags: - - Me.Trips.PlanItem - summary: Get ref of PlanItems from Me - operationId: Me.Trips.ListRefPlanItems - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - responses: - '200': - description: Retrieved navigation property links - schema: - title: Collection of links of PlanItem - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for Me - operationId: Me.Trips.CreateRefPlanItems - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - /Me/Trips/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Trips - produces: - - text/plain - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - /NewComePeople: - get: - tags: - - NewComePeople.Person - summary: Get entities from NewComePeople - operationId: NewComePeople.Person.ListPerson - produces: - - application/json - parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved entities - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - post: - tags: - - NewComePeople.Person - summary: Add new entity to NewComePeople - operationId: NewComePeople.Person.CreatePerson - consumes: - - application/json - produces: - - application/json - parameters: - - in: body - name: body - description: New entity - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '201': - description: Created entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}': - get: - tags: - - NewComePeople.Person - summary: Get entity from NewComePeople by key - operationId: NewComePeople.Person.GetPerson - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved entity - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - NewComePeople.Person - summary: Update entity in NewComePeople - operationId: NewComePeople.Person.UpdatePerson - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New property values - required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Person - summary: Delete entity from NewComePeople - operationId: NewComePeople.Person.DeletePerson - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend': - get: - tags: - - NewComePeople.Person - summary: Get BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetBestFriend - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/$ref': - get: - tags: - - NewComePeople.Person - summary: Get ref of BestFriend from NewComePeople - description: The best friend. - operationId: NewComePeople.GetRefBestFriend - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Retrieved navigation property link - schema: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - put: - tags: - - NewComePeople.Person - summary: Update the ref of navigation property BestFriend in NewComePeople - description: The best friend. - operationId: NewComePeople.UpdateRefBestFriend - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref values - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - NewComePeople.Person - summary: Delete ref of navigation property BestFriend for NewComePeople - description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': - get: - tags: - - NewComePeople.BestFriend.Person - summary: Get Peers from NewComePeople - operationId: NewComePeople.BestFriend.ListPeers - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': - delete: - tags: - - NewComePeople.BestFriend.Person - summary: Delete ref of navigation property Peers for NewComePeople - operationId: NewComePeople.BestFriend.DeleteRefPeers - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Peers - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': - get: - tags: - - NewComePeople.BestFriend.Person - summary: Get ref of Peers from NewComePeople - operationId: NewComePeople.BestFriend.ListRefPeers - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.BestFriend.Person - summary: Create new navigation property ref to Peers for NewComePeople - operationId: NewComePeople.BestFriend.CreateRefPeers - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': - get: - tags: - - NewComePeople.BestFriend.Person - summary: Get DirectReports from NewComePeople - operationId: NewComePeople.BestFriend.ListDirectReports - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': - delete: - tags: - - NewComePeople.BestFriend.Person - summary: Delete ref of navigation property DirectReports for NewComePeople - operationId: NewComePeople.BestFriend.DeleteRefDirectReports - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.DirectReports - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': - get: - tags: - - NewComePeople.BestFriend.Person - summary: Get ref of DirectReports from NewComePeople - operationId: NewComePeople.BestFriend.ListRefDirectReports - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - NewComePeople.BestFriend.Person - summary: Create new navigation property ref to DirectReports for NewComePeople - operationId: NewComePeople.BestFriend.CreateRefDirectReports - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends': - get: - tags: - - NewComePeople.Person - summary: Get Friends from NewComePeople - operationId: NewComePeople.ListFriends - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': - delete: - tags: - - NewComePeople.Person - summary: Delete ref of navigation property Friends for NewComePeople - operationId: NewComePeople.DeleteRefFriends - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': - get: - tags: - - NewComePeople.Friends.Person - summary: Get Peers from NewComePeople - operationId: NewComePeople.Friends.ListPeers - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -6202,26 +3385,19 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Retrieved entity schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': - delete: + patch: tags: - - NewComePeople.Friends.Person - summary: Delete ref of navigation property Peers for NewComePeople - operationId: NewComePeople.Friends.DeleteRefPeers + - NewComePeople.Person + summary: Update entity in NewComePeople + operationId: NewComePeople.Person.UpdatePerson + consumes: + - application/json parameters: - in: path name: UserName @@ -6229,38 +3405,23 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName2 - description: 'key: UserName of Person' + - in: body + name: body + description: New property values required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Peers - produces: - - text/plain + delete: + tags: + - NewComePeople.Person + summary: Delete entity from NewComePeople + operationId: NewComePeople.Person.DeletePerson parameters: - in: path name: UserName @@ -6268,25 +3429,23 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true + - in: header + name: If-Match + description: ETag type: string - x-ms-docs-key-type: Person responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + '204': + description: Success default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend': get: tags: - - NewComePeople.Friends.Person - summary: Get ref of Peers from NewComePeople - operationId: NewComePeople.Friends.ListRefPeers + - NewComePeople.Person + summary: Get BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetBestFriend produces: - application/json parameters: @@ -6296,67 +3455,53 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - UserName - - UserName desc - FirstName - - FirstName desc - LastName - - LastName desc - MiddleName - - MiddleName desc - Gender - - Gender desc - Age - - Age desc - Emails - - Emails desc - AddressInfo - - AddressInfo desc - HomeAddress - - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - Features - - Features desc + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + '/NewComePeople/{UserName}/BestFriend/$ref': + get: tags: - - NewComePeople.Friends.Person - summary: Create new navigation property ref to Peers for NewComePeople - operationId: NewComePeople.Friends.CreateRefPeers - consumes: - - application/json + - NewComePeople.Person + summary: Get ref of BestFriend from NewComePeople + description: The best friend. + operationId: NewComePeople.GetRefBestFriend produces: - application/json parameters: @@ -6366,36 +3511,49 @@ paths: required: true type: string x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + put: + tags: + - NewComePeople.Person + summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. + operationId: NewComePeople.UpdateRefBestFriend + consumes: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref value + description: New navigation property ref values required: true schema: type: object additionalProperties: type: object responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': - get: + delete: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - application/json + - NewComePeople.Person + summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. + operationId: NewComePeople.DeleteRefBestFriend parameters: - in: path name: UserName @@ -6403,8 +3561,27 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + produces: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string @@ -6445,15 +3622,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - NewComePeople.Friends.Person - summary: Get DirectReports from NewComePeople - operationId: NewComePeople.Friends.ListDirectReports + - NewComePeople.BestFriend.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListPeers produces: - application/json parameters: @@ -6463,12 +3640,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -6550,28 +3721,22 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': delete: tags: - - NewComePeople.Friends.Person - summary: Delete ref of navigation property DirectReports for NewComePeople - operationId: NewComePeople.Friends.DeleteRefDirectReports + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefPeers parameters: - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - in: path - name: UserName2 + name: UserName1 description: 'key: UserName of Person' required: true type: string @@ -6590,10 +3755,10 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.Peers produces: - text/plain parameters: @@ -6603,12 +3768,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -6616,12 +3775,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - NewComePeople.Friends.Person - summary: Get ref of DirectReports from NewComePeople - operationId: NewComePeople.Friends.ListRefDirectReports + - NewComePeople.BestFriend.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.BestFriend.ListRefPeers produces: - application/json parameters: @@ -6631,12 +3790,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -6687,9 +3840,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Friends.Person - summary: Create new navigation property ref to DirectReports for NewComePeople - operationId: NewComePeople.Friends.CreateRefDirectReports + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefPeers consumes: - application/json produces: @@ -6701,12 +3854,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - in: body name: body description: New navigation property ref value @@ -6723,12 +3870,12 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -6738,78 +3885,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json + - NewComePeople.BestFriend.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListDirectReports produces: - application/json parameters: @@ -6819,100 +3939,94 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved navigation property schema: + title: Collection of Person type: object properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: + - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + delete: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json + - NewComePeople.BestFriend.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.DeleteRefDirectReports parameters: - in: path name: UserName @@ -6926,32 +4040,24 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri type: string responses: - '200': + '204': description: Success - schema: - type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Friends/$count': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.DirectReports produces: - text/plain parameters: @@ -6968,12 +4074,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/$ref': + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - NewComePeople.Person - summary: Get ref of Friends from NewComePeople - operationId: NewComePeople.ListRefFriends + - NewComePeople.BestFriend.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.BestFriend.ListRefDirectReports produces: - application/json parameters: @@ -7033,9 +4139,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Person - summary: Create new navigation property ref to Friends for NewComePeople - operationId: NewComePeople.CreateRefFriends + - NewComePeople.BestFriend.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.BestFriend.CreateRefDirectReports consumes: - application/json produces: @@ -7063,12 +4169,12 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/NewComePeople/{UserName}/Friends': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - NewComePeople.Person + summary: Get Friends from NewComePeople + operationId: NewComePeople.ListFriends produces: - application/json parameters: @@ -7078,6 +4184,40 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string - in: query name: $select description: Select properties to be returned @@ -7112,17 +4252,24 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - text/plain + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/$ref': + delete: + tags: + - NewComePeople.Person + summary: Delete ref of navigation property Friends for NewComePeople + operationId: NewComePeople.DeleteRefFriends parameters: - in: path name: UserName @@ -7130,19 +4277,32 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + '204': + description: Success default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -7152,6 +4312,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -7188,35 +4354,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/responses/error' - '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - produces: - - text/plain - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.GetFavoriteAirline + - NewComePeople.Friends.Person + summary: Get Peers from NewComePeople + operationId: NewComePeople.Friends.ListPeers produces: - application/json parameters: @@ -7226,42 +4372,81 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.GetFriendsTrips - produces: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName=''{userName}''' - required: true - type: string + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: title: Collection of Person type: object @@ -7269,25 +4454,18 @@ paths: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function + x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref': + delete: tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.GetPeersForTrip - consumes: - - application/json - produces: - - application/json + - NewComePeople.Friends.Person + summary: Delete ref of navigation property Peers for NewComePeople + operationId: NewComePeople.Friends.DeleteRefPeers parameters: - in: path name: UserName @@ -7295,119 +4473,38 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': - post: - tags: - - NewComePeople.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName1 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - hire: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.ShareTrip - consumes: - - application/json - parameters: - in: path - name: UserName + name: UserName2 description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Peers produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -7416,34 +4513,24 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: lastName - description: 'Usage: lastName=''{lastName}''' + name: UserName1 + description: 'key: UserName of Person' required: true type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/NewComePeople/{UserName}/Trips': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.ListTrips + - NewComePeople.Friends.Person + summary: Get ref of Peers from NewComePeople + operationId: NewComePeople.Friends.ListRefPeers produces: - application/json parameters: @@ -7453,6 +4540,12 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -7464,68 +4557,48 @@ paths: type: array items: enum: - - TripId - - TripId desc - - ShareId - - ShareId desc - - Name - - Name desc - - Budget - - Budget desc - - Description - - Description desc - - Tags - - Tags desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - PlanItems + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links schema: - title: Collection of Trip + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Trip - summary: Create new navigation property to Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.CreateTrips + - NewComePeople.Friends.Person + summary: Create new navigation property ref to Peers for NewComePeople + operationId: NewComePeople.Friends.CreateRefPeers consumes: - application/json produces: @@ -7537,27 +4610,34 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: UserName1 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New navigation property + description: New navigation property ref value required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object + additionalProperties: + type: object responses: '201': - description: Created navigation property. + description: Created navigation property link. schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: object default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - NewComePeople.Trip - summary: Get Trips from NewComePeople - description: Collection of trips. - operationId: NewComePeople.GetTrips + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -7568,29 +4648,31 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned type: array items: enum: - - TripId - - ShareId - - Name - - Budget - - Description - - Tags - - StartsAt - - EndsAt - - PlanItems + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - in: query name: $expand @@ -7599,23 +4681,24 @@ paths: items: enum: - '*' - - PlanItems + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property + description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - patch: + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + get: tags: - - NewComePeople.Trip - summary: Update the navigation property Trips in NewComePeople - description: Collection of trips. - operationId: NewComePeople.UpdateTrips - consumes: + - NewComePeople.Friends.Person + summary: Get DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListDirectReports + produces: - application/json parameters: - in: path @@ -7625,32 +4708,99 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: body - name: body - description: New navigation property values + name: UserName1 + description: 'key: UserName of Person' required: true - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + type: string + x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: - '204': - description: Success + '200': + description: Retrieved navigation property + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref': delete: tags: - - NewComePeople.Trip - summary: Delete navigation property Trips for NewComePeople - description: Collection of trips. - operationId: NewComePeople.DeleteTrips + - NewComePeople.Friends.Person + summary: Delete ref of navigation property DirectReports for NewComePeople + operationId: NewComePeople.Friends.DeleteRefDirectReports parameters: - in: path name: UserName @@ -7659,32 +4809,37 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person + - in: path + name: UserName2 + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: header name: If-Match description: ETag type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: - tags: - - NewComePeople.Functions - summary: Invoke function GetInvolvedPeople - operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -7693,34 +4848,24 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person responses: '200': - description: Success + description: The count of the resource schema: - title: Collection of Trip - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListPlanItems + - NewComePeople.Friends.Person + summary: Get ref of DirectReports from NewComePeople + operationId: NewComePeople.Friends.ListRefDirectReports produces: - application/json parameters: @@ -7731,14 +4876,11 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip + type: string + x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -7750,57 +4892,52 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc - type: string - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - PlanItemId - - ConfirmationCode - - StartsAt - - EndsAt - - Duration - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': - description: Retrieved navigation property + description: Retrieved navigation property links schema: - title: Collection of PlanItem + title: Collection of links of Person type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': - delete: + post: tags: - - NewComePeople.Trips.PlanItem - summary: Delete ref of navigation property PlanItems for NewComePeople - operationId: NewComePeople.Trips.DeleteRefPlanItems + - NewComePeople.Friends.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.Friends.CreateRefDirectReports + consumes: + - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -7809,41 +4946,31 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - - in: path - name: PlanItemId - description: 'key: PlanItemId of PlanItem' + name: UserName1 + description: 'key: UserName of Person' required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: PlanItem - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: New navigation property ref value + required: true + schema: + type: object + additionalProperties: + type: object responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': + '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.Friends produces: - text/plain parameters: @@ -7853,15 +4980,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip responses: '200': description: The count of the resource @@ -7869,12 +4987,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + '/NewComePeople/{UserName}/Friends/$ref': get: tags: - - NewComePeople.Trips.PlanItem - summary: Get ref of PlanItems from NewComePeople - operationId: NewComePeople.Trips.ListRefPlanItems + - NewComePeople.Person + summary: Get ref of Friends from NewComePeople + operationId: NewComePeople.ListRefFriends produces: - application/json parameters: @@ -7884,15 +5002,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -7904,22 +5013,34 @@ paths: type: array items: enum: - - PlanItemId - - PlanItemId desc - - ConfirmationCode - - ConfirmationCode desc - - StartsAt - - StartsAt desc - - EndsAt - - EndsAt desc - - Duration - - Duration desc + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc type: string responses: '200': description: Retrieved navigation property links schema: - title: Collection of links of PlanItem + title: Collection of links of Person type: object properties: value: @@ -7931,9 +5052,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - NewComePeople.Trips.PlanItem - summary: Create new navigation property ref to PlanItems for NewComePeople - operationId: NewComePeople.Trips.CreateRefPlanItems + - NewComePeople.Person + summary: Create new navigation property ref to Friends for NewComePeople + operationId: NewComePeople.CreateRefFriends consumes: - application/json produces: @@ -7945,15 +5066,6 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: TripId - description: 'key: TripId of Trip' - required: true - type: integer - format: int32 - maximum: 2147483647 - minimum: -2147483648 - x-ms-docs-key-type: Trip - in: body name: body description: New navigation property ref value @@ -7970,12 +5082,14 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Trips/$count': + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: - summary: Get the number of the resource - operationId: Get.Count.Trips + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - - text/plain + - application/json parameters: - in: path name: UserName @@ -7983,19 +5097,58 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: The count of the resource + description: Result entities schema: - $ref: '#/definitions/ODataCountResponse' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - /NewComePeople/$count: + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: summary: Get the number of the resource - operationId: Get.Count.NewComePeople + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: '200': description: The count of the resource @@ -8003,49 +5156,21 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - /People: + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Person - summary: Get entities from People - operationId: People.Person.ListPerson + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - - in: query - name: $orderby - description: Order items by property values - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: query name: $select description: Select properties to be returned @@ -8080,7 +5205,77 @@ paths: type: string responses: '200': - description: Retrieved entities + description: Result entities + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + produces: + - text/plain + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFavoriteAirline + operationId: NewComePeople.Person.GetFavoriteAirline + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Success + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetFriendsTrips + operationId: NewComePeople.Person.GetFriendsTrips + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: userName + description: 'Usage: userName=''{userName}''' + required: true + type: string + responses: + '200': + description: Success schema: title: Collection of Person type: object @@ -8088,39 +5283,161 @@ paths: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: - - People.Person - summary: Add new entity to People - operationId: People.Person.CreatePerson + - NewComePeople.Actions + summary: Invoke action GetPeersForTrip + operationId: NewComePeople.Person.GetPeersForTrip consumes: - application/json produces: - application/json parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person - in: body name: body - description: New entity + description: Action parameters required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer responses: - '201': - description: Created entity + '200': + description: Success + schema: + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': + post: + tags: + - NewComePeople.Actions + summary: Invoke action Hire + description: Hires someone for the company. + operationId: NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + hire: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + post: + tags: + - NewComePeople.Actions + summary: Invoke action ShareTrip + description: Details of the shared trip. + operationId: NewComePeople.Person.ShareTrip + consumes: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: body + name: body + description: Action parameters + required: true + schema: + type: object + properties: + userName: + type: string + tripId: + format: int32 + maximum: 2147483647 + minimum: -2147483648 + type: integer + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: action + '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': + get: + tags: + - NewComePeople.Functions + summary: Invoke function UpdatePersonLastName + operationId: NewComePeople.Person.UpdatePersonLastName + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: lastName + description: 'Usage: lastName=''{lastName}''' + required: true + type: string + responses: + '200': + description: Success schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: object + properties: + value: + default: false + type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}': + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Trips': get: tags: - - People.Person - summary: Get entity from People by key - operationId: People.Person.GetPerson + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.ListTrips produces: - application/json parameters: @@ -8130,26 +5447,49 @@ paths: required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - TripId + - TripId desc + - ShareId + - ShareId desc + - Name + - Name desc + - Budget + - Budget desc + - Description + - Description desc + - Tags + - Tags desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - in: query name: $expand @@ -8158,25 +5498,32 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips + - PlanItems type: string responses: '200': - description: Retrieved entity + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - patch: + post: tags: - - People.Person - summary: Update entity in People - operationId: People.Person.UpdatePerson + - NewComePeople.Trip + summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.CreateTrips consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -8186,45 +5533,25 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New property values + description: New navigation property required: true schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - People.Person - summary: Delete entity from People - operationId: People.Person.DeletePerson - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: - '204': - description: Success + '201': + description: Created navigation property. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend': + '/NewComePeople/{UserName}/Trips/{TripId}': get: tags: - - People.Person - summary: Get BestFriend from People - description: The best friend. - operationId: People.GetBestFriend + - NewComePeople.Trip + summary: Get Trips from NewComePeople + description: Collection of trips. + operationId: NewComePeople.GetTrips produces: - application/json parameters: @@ -8234,26 +5561,30 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: query name: $select description: Select properties to be returned type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - TripId + - ShareId + - Name + - Budget + - Description + - Tags + - StartsAt + - EndsAt + - PlanItems type: string - in: query name: $expand @@ -8262,26 +5593,23 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips + - PlanItems type: string responses: '200': description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/$ref': - get: + patch: tags: - - People.Person - summary: Get ref of BestFriend from People - description: The best friend. - operationId: People.GetRefBestFriend - produces: + - NewComePeople.Trip + summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. + operationId: NewComePeople.UpdateTrips + consumes: - application/json parameters: - in: path @@ -8290,37 +5618,21 @@ paths: required: true type: string x-ms-docs-key-type: Person - responses: - '200': - description: Retrieved navigation property link - schema: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - put: - tags: - - People.Person - summary: Update the ref of navigation property BestFriend in People - description: The best friend. - operationId: People.UpdateRefBestFriend - consumes: - - application/json - parameters: - in: path - name: UserName - description: 'key: UserName of Person' + name: TripId + description: 'key: TripId of Trip' required: true - type: string - x-ms-docs-key-type: Person + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: New navigation property ref values + description: New navigation property values required: true schema: - type: object - additionalProperties: - type: object + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' responses: '204': description: Success @@ -8329,10 +5641,10 @@ paths: x-ms-docs-operation-type: operation delete: tags: - - People.Person - summary: Delete ref of navigation property BestFriend for People - description: The best friend. - operationId: People.DeleteRefBestFriend + - NewComePeople.Trip + summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. + operationId: NewComePeople.DeleteTrips parameters: - in: path name: UserName @@ -8340,22 +5652,69 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: header name: If-Match description: ETag type: string responses: - '204': + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()': + get: + tags: + - NewComePeople.Functions + summary: Invoke function GetInvolvedPeople + operationId: NewComePeople.Person.Trips.Trip.GetInvolvedPeople + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + responses: + '200': description: Success + schema: + title: Collection of Trip + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + x-ms-docs-operation-type: function + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - NewComePeople.Trips.PlanItem + summary: Get PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListPlanItems produces: - application/json parameters: @@ -8365,26 +5724,48 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string - in: query name: $select description: Select properties to be returned type: array items: enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips + - PlanItemId + - ConfirmationCode + - StartsAt + - EndsAt + - Duration type: string - in: query name: $expand @@ -8393,25 +5774,27 @@ paths: items: enum: - '*' - - Friends - - BestFriend - - Trips type: string responses: '200': - description: Result entities + description: Retrieved navigation property schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of PlanItem + type: object + properties: + value: + type: array + items: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem' default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref': + delete: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json + - NewComePeople.Trips.PlanItem + summary: Delete ref of navigation property PlanItems for NewComePeople + operationId: NewComePeople.Trips.DeleteRefPlanItems parameters: - in: path name: UserName @@ -8419,29 +5802,44 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - in: path + name: PlanItemId + description: 'key: PlanItemId of PlanItem' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: PlanItem + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: - '200': + '204': description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips + summary: Get the number of the resource + operationId: Get.Count.PlanItems produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -8450,39 +5848,27 @@ paths: type: string x-ms-docs-key-type: Person - in: path - name: userName - description: 'Usage: userName={userName}' + name: TripId + description: 'key: TripId of Trip' required: true - type: string + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip responses: '200': - description: Success + description: The count of the resource schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref': + get: tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json + - NewComePeople.Trips.PlanItem + summary: Get ref of PlanItems from NewComePeople + operationId: NewComePeople.Trips.ListRefPlanItems produces: - application/json parameters: @@ -8492,50 +5878,60 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters + - in: path + name: TripId + description: 'key: TripId of Trip' required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - PlanItemId + - PlanItemId desc + - ConfirmationCode + - ConfirmationCode desc + - StartsAt + - StartsAt desc + - EndsAt + - EndsAt desc + - Duration + - Duration desc + type: string responses: '200': - description: Success + description: Retrieved navigation property links schema: - title: Collection of Employee + title: Collection of links of PlanItem type: object properties: value: type: array items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-operation-type: operation post: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + - NewComePeople.Trips.PlanItem + summary: Create new navigation property ref to PlanItems for NewComePeople + operationId: NewComePeople.Trips.CreateRefPlanItems consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -8543,41 +5939,37 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: path + name: TripId + description: 'key: TripId of Trip' + required: true + type: integer + format: int32 + maximum: 2147483647 + minimum: -2147483648 + x-ms-docs-key-type: Trip - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + additionalProperties: + type: object responses: - '204': - description: Success + '201': + description: Created navigation property link. + schema: + type: object default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Trips/$count': get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the number of the resource + operationId: Get.Count.Trips produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -8585,45 +5977,35 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string responses: '200': - description: Success + description: The count of the resource schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + /NewComePeople/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.NewComePeople + produces: + - text/plain + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + /People: get: tags: - - People.BestFriend.Person - summary: Get Peers from People - operationId: People.BestFriend.ListPeers + - People.Person + summary: Get entities from People + operationId: People.Person.ListPerson produces: - application/json parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - $ref: '#/parameters/top' - $ref: '#/parameters/skip' - $ref: '#/parameters/search' @@ -8692,7 +6074,7 @@ paths: type: string responses: '200': - description: Retrieved navigation property + description: Retrieved entities schema: title: Collection of Person type: object @@ -8703,16 +6085,38 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' + post: + tags: + - People.Person + summary: Add new entity to People + operationId: People.Person.CreatePerson + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + description: New entity + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + responses: + '201': + description: Created entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': - delete: + '/People/{UserName}': + get: tags: - - People.BestFriend.Person - summary: Delete ref of navigation property Peers for People - operationId: People.BestFriend.DeleteRefPeers + - People.Person + summary: Get entity from People by key + operationId: People.Person.GetPerson + produces: + - application/json parameters: - in: path name: UserName @@ -8720,32 +6124,77 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Retrieved entity + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - People.Person + summary: Update entity in People + operationId: People.Person.UpdatePerson + consumes: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person - - in: header - name: If-Match - description: ETag - type: string - - in: query - name: '@id' - description: Delete Uri - type: string + - in: body + name: body + description: New property values + required: true + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' responses: '204': description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': - get: - summary: Get the number of the resource - operationId: Get.Count.Peers - produces: - - text/plain + delete: + tags: + - People.Person + summary: Delete entity from People + operationId: People.Person.DeletePerson parameters: - in: path name: UserName @@ -8753,19 +6202,23 @@ paths: required: true type: string x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' + '204': + description: Success default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend': get: tags: - - People.BestFriend.Person - summary: Get ref of Peers from People - operationId: People.BestFriend.ListRefPeers + - People.Person + summary: Get BestFriend from People + description: The best friend. + operationId: People.GetBestFriend produces: - application/json parameters: @@ -8775,63 +6228,78 @@ paths: required: true type: string x-ms-docs-key-type: Person - - $ref: '#/parameters/top' - - $ref: '#/parameters/skip' - - $ref: '#/parameters/search' - - $ref: '#/parameters/filter' - - $ref: '#/parameters/count' - in: query - name: $orderby - description: Order items by property values + name: $select + description: Select properties to be returned type: array items: enum: - UserName - - UserName desc - FirstName - - FirstName desc - LastName - - LastName desc - MiddleName - - MiddleName desc - Gender - - Gender desc - Age - - Age desc - Emails - - Emails desc - AddressInfo - - AddressInfo desc - HomeAddress - - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - Features - - Features desc + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips type: string responses: '200': - description: Retrieved navigation property links + description: Retrieved navigation property schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/$ref': + get: + tags: + - People.Person + summary: Get ref of BestFriend from People + description: The best friend. + operationId: People.GetRefBestFriend + produces: + - application/json + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: Retrieved navigation property link + schema: + type: string default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - post: + put: tags: - - People.BestFriend.Person - summary: Create new navigation property ref to Peers for People - operationId: People.BestFriend.CreateRefPeers + - People.Person + summary: Update the ref of navigation property BestFriend in People + description: The best friend. + operationId: People.UpdateRefBestFriend consumes: - application/json - produces: - - application/json parameters: - in: path name: UserName @@ -8841,26 +6309,47 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: New navigation property ref value + description: New navigation property ref values required: true schema: type: object additionalProperties: type: object responses: - '201': - description: Created navigation property link. - schema: - type: object + '204': + description: Success default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + delete: + tags: + - People.Person + summary: Delete ref of navigation property BestFriend for People + description: The best friend. + operationId: People.DeleteRefBestFriend + parameters: + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person + - in: header + name: If-Match + description: ETag + type: string + responses: + '204': + description: Success + default: + $ref: '#/responses/error' + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -8906,15 +6395,15 @@ paths: '200': description: Result entities schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - People.BestFriend.Person - summary: Get DirectReports from People - operationId: People.BestFriend.ListDirectReports + summary: Get Peers from People + operationId: People.BestFriend.ListPeers produces: - application/json parameters: @@ -9005,14 +6494,14 @@ paths: $ref: '#/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': delete: tags: - People.BestFriend.Person - summary: Delete ref of navigation property DirectReports for People - operationId: People.BestFriend.DeleteRefDirectReports + summary: Delete ref of navigation property Peers for People + operationId: People.BestFriend.DeleteRefPeers parameters: - in: path name: UserName @@ -9040,10 +6529,10 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.Peers produces: - text/plain parameters: @@ -9060,12 +6549,12 @@ paths: $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - People.BestFriend.Person - summary: Get ref of DirectReports from People - operationId: People.BestFriend.ListRefDirectReports + summary: Get ref of Peers from People + operationId: People.BestFriend.ListRefPeers produces: - application/json parameters: @@ -9126,8 +6615,8 @@ paths: post: tags: - People.BestFriend.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.BestFriend.CreateRefDirectReports + summary: Create new navigation property ref to Peers for People + operationId: People.BestFriend.CreateRefPeers consumes: - application/json produces: @@ -9155,178 +6644,12 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager produces: - application/json parameters: @@ -9336,36 +6659,51 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/People/{UserName}/Friends': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - - People.Person - summary: Get Friends from People - operationId: People.ListFriends + - People.BestFriend.Person + summary: Get DirectReports from People + operationId: People.BestFriend.ListDirectReports produces: - application/json parameters: @@ -9455,12 +6793,15 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/$ref': + x-ms-docs-grouped-path: + - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - - People.Person - summary: Delete ref of navigation property Friends for People - operationId: People.DeleteRefFriends + - People.BestFriend.Person + summary: Delete ref of navigation property DirectReports for People + operationId: People.BestFriend.DeleteRefDirectReports parameters: - in: path name: UserName @@ -9488,14 +6829,12 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + summary: Get the number of the resource + operationId: Get.Count.DirectReports produces: - - application/json + - text/plain parameters: - in: path name: UserName @@ -9503,93 +6842,83 @@ paths: required: true type: string x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' + default: + $ref: '#/responses/error' + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + get: + tags: + - People.BestFriend.Person + summary: Get ref of DirectReports from People + operationId: People.BestFriend.ListRefDirectReports + produces: + - application/json + parameters: - in: path - name: UserName1 + name: UserName description: 'key: UserName of Person' required: true type: string x-ms-docs-key-type: Person + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' - in: query - name: $select - description: Select properties to be returned + name: $orderby + description: Order items by property values type: array items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/responses/error' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + post: tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: + - People.BestFriend.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.BestFriend.CreateRefDirectReports + consumes: - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips produces: - application/json parameters: @@ -9599,46 +6928,28 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' + - in: body + name: body + description: New navigation property ref value required: true - type: string + schema: + type: object + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: - title: Collection of Employee type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends': + get: tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json + - People.Person + summary: Get Friends from People + operationId: People.ListFriends produces: - application/json parameters: @@ -9648,31 +6959,77 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - $ref: '#/parameters/top' + - $ref: '#/parameters/skip' + - $ref: '#/parameters/search' + - $ref: '#/parameters/filter' + - $ref: '#/parameters/count' + - in: query + name: $orderby + description: Order items by property values + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property schema: - title: Collection of Employee + title: Collection of Person type: object properties: value: @@ -9681,23 +7038,13 @@ paths: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/$ref': + delete: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json + - People.Person + summary: Delete ref of navigation property Friends for People + operationId: People.DeleteRefFriends parameters: - in: path name: UserName @@ -9711,39 +7058,26 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - in: header + name: If-Match + description: ETag + type: string + - in: query + name: '@id' + description: Delete Uri + type: string responses: '204': description: Success default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -9759,30 +7093,45 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -10353,198 +7702,19 @@ paths: value: type: array items: - type: string - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - People.Friends.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.Friends.CreateRefDirectReports - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: New navigation property ref value - required: true - schema: - type: object - additionalProperties: - type: object - responses: - '201': - description: Created navigation property link. - schema: - type: object - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + type: string default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': + x-ms-docs-operation-type: operation post: tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + - People.Friends.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.Friends.CreateRefDirectReports consumes: - application/json + produces: + - application/json parameters: - in: path name: UserName @@ -10560,76 +7730,20 @@ paths: x-ms-docs-key-type: Person - in: body name: body - description: Action parameters + description: New navigation property ref value required: true schema: type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: UserName1 - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + additionalProperties: + type: object responses: - '200': - description: Success + '201': + description: Created navigation property link. schema: type: object - properties: - value: - default: false - type: boolean default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -10880,245 +7994,25 @@ paths: produces: - text/plain parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: The count of the resource - schema: - $ref: '#/definitions/ODataCountResponse' - default: - $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: query - name: $select - description: Select properties to be returned - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - in: query - name: $expand - description: Expand related entities - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer + - in: path + name: UserName + description: 'key: UserName of Person' + required: true + type: string + x-ms-docs-key-type: Person responses: - '204': - description: Success + '200': + description: The count of the resource + schema: + $ref: '#/definitions/ODataCountResponse' default: $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee produces: - application/json parameters: @@ -11128,30 +8022,45 @@ paths: required: true type: string x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string + - in: query + name: $select + description: Select properties to be returned + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - in: query + name: $expand + description: Expand related entities + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities schema: - type: object - properties: - value: - default: false - type: boolean + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -11421,13 +8330,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: @@ -11462,13 +8364,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -11514,13 +8409,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -11821,129 +8709,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - schema: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: userName - description: 'Usage: userName={userName}' - required: true - type: string - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - consumes: - - application/json - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '200': - description: Success - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': post: tags: @@ -11975,88 +8740,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - consumes: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: body - name: body - description: Action parameters - required: true - schema: - type: object - properties: - userName: - type: string - tripId: - format: int32 - maximum: 2147483647 - minimum: -2147483648 - type: integer - responses: - '204': - description: Success - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - produces: - - application/json - parameters: - - in: path - name: UserName - description: 'key: UserName of Person' - required: true - type: string - x-ms-docs-key-type: Person - - in: path - name: lastName - description: 'Usage: lastName={lastName}' - required: true - type: string - responses: - '200': - description: Success - schema: - type: object - properties: - value: - default: false - type: boolean - default: - $ref: '#/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -12093,13 +8776,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: @@ -12132,13 +8808,6 @@ paths: default: $ref: '#/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Trips': get: tags: @@ -13281,43 +9950,43 @@ tags: - name: Me.Person x-ms-docs-toc-type: page - name: Person.Employee - - name: Me.Functions - x-ms-docs-toc-type: container - - name: Me.Actions - x-ms-docs-toc-type: container - name: Me.BestFriend.Person x-ms-docs-toc-type: page - name: Person.Manager - name: Me.Friends.Person x-ms-docs-toc-type: page + - name: Me.Functions + x-ms-docs-toc-type: container + - name: Me.Actions + x-ms-docs-toc-type: container - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem x-ms-docs-toc-type: page - name: NewComePeople.Person x-ms-docs-toc-type: page - - name: NewComePeople.Functions - x-ms-docs-toc-type: container - - name: NewComePeople.Actions - x-ms-docs-toc-type: container - name: NewComePeople.BestFriend.Person x-ms-docs-toc-type: page - name: NewComePeople.Friends.Person x-ms-docs-toc-type: page + - name: NewComePeople.Functions + x-ms-docs-toc-type: container + - name: NewComePeople.Actions + x-ms-docs-toc-type: container - name: NewComePeople.Trip x-ms-docs-toc-type: page - name: NewComePeople.Trips.PlanItem x-ms-docs-toc-type: page - name: People.Person x-ms-docs-toc-type: page - - name: People.Functions - x-ms-docs-toc-type: container - - name: People.Actions - x-ms-docs-toc-type: container - name: People.BestFriend.Person x-ms-docs-toc-type: page - name: People.Friends.Person x-ms-docs-toc-type: page + - name: People.Functions + x-ms-docs-toc-type: container + - name: People.Actions + x-ms-docs-toc-type: container - name: People.Trip x-ms-docs-toc-type: page - name: People.Trips.PlanItem 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 ae79bed2..2ed3fa2a 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -1084,270 +1084,6 @@ } } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ @@ -2096,277 +1832,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/Me/Friends": { "get": { "tags": [ - "Me.Functions" + "Me.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Friends": { - "get": { - "tags": [ - "Me.Person" - ], - "summary": "Get Friends from Me", - "operationId": "Me.ListFriends", + "summary": "Get Friends from Me", + "operationId": "Me.ListFriends", "parameters": [ { "$ref": "#/components/parameters/top" @@ -2631,13 +2103,13 @@ } } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "Me.Functions" + "Me.Friends.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get Peers from Me", + "operationId": "Me.Friends.ListPeers", "parameters": [ { "name": "UserName", @@ -2648,329 +2120,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "Me.Friends.Person" - ], - "summary": "Get Peers from Me", - "operationId": "Me.Friends.ListPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" + "$ref": "#/components/parameters/top" }, { "$ref": "#/components/parameters/skip" @@ -3817,337 +2969,17 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/Me/Friends/$count": { "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -4554,271 +3386,7 @@ } } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "Me.Person" @@ -5182,15 +3750,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { @@ -5240,15 +3800,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { @@ -5309,15 +3861,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { @@ -5731,175 +4275,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { + "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { + "post": { "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { - "tags": [ - "Me.Actions" + "Me.Actions" ], "summary": "Invoke action Hire", "description": "Hires someone for the company.", @@ -5936,105 +4315,6 @@ "x-ms-docs-operation-type": "action" } }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "Me.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "Me.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ @@ -6074,15 +4354,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } }, "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { @@ -6124,15 +4396,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } }, "/Me/Trips": { "get": { @@ -7532,323 +5796,13 @@ } } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "NewComePeople.BestFriend.Person" - ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.BestFriend.ListPeers", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.BestFriend.ListPeers", "parameters": [ { "name": "UserName", @@ -8706,2351 +6660,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Friends": { "get": { "tags": [ - "NewComePeople.Functions" + "NewComePeople.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get Friends from NewComePeople", - "operationId": "NewComePeople.ListFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { - "delete": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Delete ref of navigation property Friends for NewComePeople", - "operationId": "NewComePeople.DeleteRefFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { - "get": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Get Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { - "delete": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Delete ref of navigation property Peers for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Get ref of Peers from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Create new navigation property ref to Peers for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefPeers", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { - "get": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Get DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { - "delete": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Delete ref of navigation property DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.DeleteRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { - "get": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Get ref of DirectReports from NewComePeople", - "operationId": "NewComePeople.Friends.ListRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.Friends.Person" - ], - "summary": "Create new navigation property ref to DirectReports for NewComePeople", - "operationId": "NewComePeople.Friends.CreateRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/NewComePeople/{UserName}/Friends/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/$ref": { - "get": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Get ref of Friends from NewComePeople", - "operationId": "NewComePeople.ListRefFriends", + "summary": "Get Friends from NewComePeople", + "operationId": "NewComePeople.ListFriends", "parameters": [ { "name": "UserName", @@ -11069,270 +6685,18 @@ "$ref": "#/components/parameters/skip" }, { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "NewComePeople.Person" - ], - "summary": "Create new navigation property ref to Friends for NewComePeople", - "operationId": "NewComePeople.CreateRefFriends", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { - "get": { - "tags": [ - "Person.Employee" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" - } - } - } + "$ref": "#/components/parameters/search" }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } + "$ref": "#/components/parameters/filter" }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { - "get": { - "tags": [ - "Person.Manager" - ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "$ref": "#/components/parameters/count" }, { - "name": "$select", + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -11341,28 +6705,36 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } } }, { - "name": "$expand", + "name": "$select", "in": "query", - "description": "Expand related entities", + "description": "Select properties to be returned", "style": "form", "explode": false, "schema": { @@ -11370,7 +6742,17 @@ "type": "array", "items": { "enum": [ - "*", + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", "Friends", "BestFriend", "Trips" @@ -11378,216 +6760,31 @@ "type": "string" } } - } - ], - "responses": { - "200": { - "description": "Result entities", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "NewComePeople.Person.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "NewComePeople.Person.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName='{userName}'", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "NewComePeople.Person.GetPeersForTrip", - "parameters": [ + }, { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { @@ -11597,12 +6794,7 @@ "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -11614,23 +6806,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { - "post": { + "/NewComePeople/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "NewComePeople.Actions" + "NewComePeople.Person" ], - "summary": "Invoke action Hire", - "description": "Hires someone for the company.", - "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "summary": "Delete ref of navigation property Friends for NewComePeople", + "operationId": "NewComePeople.DeleteRefFriends", "parameters": [ { "name": "UserName", @@ -11641,51 +6826,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hire": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - } - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "NewComePeople.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "NewComePeople.Person.ShareTrip", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -11693,113 +6836,42 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { - "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "NewComePeople.Person.UpdatePersonLastName", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName='{lastName}'", - "required": true, + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/NewComePeople/{UserName}/Trips": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "NewComePeople.Trip" + "Person.Employee" ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.ListTrips", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -11812,51 +6884,14 @@ "x-ms-docs-key-type": "Person" }, { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "TripId", - "TripId desc", - "ShareId", - "ShareId desc", - "Name", - "Name desc", - "Budget", - "Budget desc", - "Description", - "Description desc", - "Tags", - "Tags desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc" - ], - "type": "string" - } - } + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -11869,15 +6904,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -11895,7 +6935,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -11904,20 +6946,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -11925,16 +6958,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { + } + } + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "get": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property to Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.CreateTrips", + "summary": "Get Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListPeers", "parameters": [ { "name": "UserName", @@ -11945,48 +6978,9 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}": { - "get": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Get Trips from NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.GetTrips", - "parameters": [ { - "name": "UserName", + "name": "UserName1", "in": "path", "description": "key: UserName of Person", "required": true, @@ -11996,17 +6990,57 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } }, { "name": "$select", @@ -12019,15 +7053,20 @@ "type": "array", "items": { "enum": [ - "TripId", - "ShareId", - "Name", - "Budget", - "Description", - "Tags", - "StartsAt", - "EndsAt", - "PlanItems" + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -12045,7 +7084,9 @@ "items": { "enum": [ "*", - "PlanItems" + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -12058,7 +7099,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } } } } @@ -12069,66 +7119,17 @@ }, "x-ms-docs-operation-type": "operation" }, - "patch": { - "tags": [ - "NewComePeople.Trip" - ], - "summary": "Update the navigation property Trips in NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.UpdateTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property values", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { "delete": { "tags": [ - "NewComePeople.Trip" + "NewComePeople.Friends.Person" ], - "summary": "Delete navigation property Trips for NewComePeople", - "description": "Collection of trips.", - "operationId": "NewComePeople.DeleteTrips", + "summary": "Delete ref of navigation property Peers for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -12141,17 +7142,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "If-Match", @@ -12160,6 +7168,14 @@ "schema": { "type": "string" } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } } ], "responses": { @@ -12173,13 +7189,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { - "tags": [ - "NewComePeople.Functions" - ], - "summary": "Invoke function GetInvolvedPeople", - "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -12192,40 +7205,23 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Trip", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -12233,17 +7229,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" + } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Friends.Person" ], - "summary": "Get PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListPlanItems", + "summary": "Get ref of Peers from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefPeers", "parameters": [ { "name": "UserName", @@ -12256,17 +7251,14 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { "$ref": "#/components/parameters/top" @@ -12294,54 +7286,28 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" - ], - "type": "string" - } - } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "PlanItemId", - "ConfirmationCode", - "StartsAt", - "EndsAt", - "Duration" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -12350,17 +7316,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of PlanItem", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" + "type": "string" } } } @@ -12373,15 +7339,13 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { - "delete": { + }, + "post": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Friends.Person" ], - "summary": "Delete ref of navigation property PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.DeleteRefPlanItems", + "summary": "Create new navigation property ref to Peers for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -12394,51 +7358,40 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", - "in": "path", - "description": "key: TripId of Trip", - "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "Trip" - }, - { - "name": "PlanItemId", + "name": "UserName1", "in": "path", - "description": "key: PlanItemId of PlanItem", + "description": "key: UserName of Person", "required": true, - "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - }, - "x-ms-docs-key-type": "PlanItem" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -12447,10 +7400,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "tags": [ + "Person.Manager" + ], + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -12463,26 +7419,73 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Result entities", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -12493,13 +7496,13 @@ } } }, - "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Friends.Person" ], - "summary": "Get ref of PlanItems from NewComePeople", - "operationId": "NewComePeople.Trips.ListRefPlanItems", + "summary": "Get DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -12512,17 +7515,14 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" + "x-ms-docs-key-type": "Person" }, { "$ref": "#/components/parameters/top" @@ -12550,16 +7550,78 @@ "type": "array", "items": { "enum": [ - "PlanItemId", - "PlanItemId desc", - "ConfirmationCode", - "ConfirmationCode desc", - "StartsAt", - "StartsAt desc", - "EndsAt", - "EndsAt desc", - "Duration", - "Duration desc" + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" ], "type": "string" } @@ -12568,17 +7630,17 @@ ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of PlanItem", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -12592,12 +7654,17 @@ }, "x-ms-docs-operation-type": "operation" }, - "post": { + "x-ms-docs-grouped-path": [ + "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + ] + }, + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "NewComePeople.Trips.PlanItem" + "NewComePeople.Friends.Person" ], - "summary": "Create new navigation property ref to PlanItems for NewComePeople", - "operationId": "NewComePeople.Trips.CreateRefPlanItems", + "summary": "Delete ref of navigation property DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -12610,43 +7677,45 @@ "x-ms-docs-key-type": "Person" }, { - "name": "TripId", + "name": "UserName1", "in": "path", - "description": "key: TripId of Trip", + "description": "key: UserName of Person", "required": true, "schema": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + "type": "string" }, - "x-ms-docs-key-type": "Trip" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName2", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -12655,10 +7724,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/NewComePeople/{UserName}/Trips/$count": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -12669,29 +7738,18 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } }, - "default": { - "$ref": "#/components/responses/error" + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } - } - } - }, - "/NewComePeople/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", + ], "responses": { "200": { "description": "The count of the resource", @@ -12709,14 +7767,34 @@ } } }, - "/People": { + "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Person" + "NewComePeople.Friends.Person" ], - "summary": "Get entities from People", - "operationId": "People.Person.ListPerson", + "summary": "Get ref of DirectReports from NewComePeople", + "operationId": "NewComePeople.Friends.ListRefDirectReports", "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -12769,71 +7847,21 @@ "type": "string" } } - }, - { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } } ], "responses": { "200": { - "description": "Retrieved entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "string" } } } @@ -12844,20 +7872,46 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" }, "post": { "tags": [ - "People.Person" + "NewComePeople.Friends.Person" + ], + "summary": "Create new navigation property ref to DirectReports for NewComePeople", + "operationId": "NewComePeople.Friends.CreateRefDirectReports", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } ], - "summary": "Add new entity to People", - "operationId": "People.Person.CreatePerson", "requestBody": { - "description": "New entity", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, @@ -12865,11 +7919,11 @@ }, "responses": { "201": { - "description": "Created entity", + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object" } } } @@ -12881,13 +7935,46 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}": { + "/NewComePeople/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/$ref": { "get": { "tags": [ - "People.Person" + "NewComePeople.Person" ], - "summary": "Get entity from People by key", - "operationId": "People.Person.GetPerson", + "summary": "Get ref of Friends from NewComePeople", + "operationId": "NewComePeople.ListRefFriends", "parameters": [ { "name": "UserName", @@ -12900,9 +7987,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -12911,39 +8013,27 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" ], "type": "string" } @@ -12952,11 +8042,20 @@ ], "responses": { "200": { - "description": "Retrieved entity", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -12967,12 +8066,12 @@ }, "x-ms-docs-operation-type": "operation" }, - "patch": { + "post": { "tags": [ - "People.Person" + "NewComePeople.Person" ], - "summary": "Update entity in People", - "operationId": "People.Person.UpdatePerson", + "summary": "Create new navigation property ref to Friends for NewComePeople", + "operationId": "NewComePeople.CreateRefFriends", "parameters": [ { "name": "UserName", @@ -12986,55 +8085,29 @@ } ], "requestBody": { - "description": "New property values", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, "required": true }, "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete entity from People", - "operationId": "People.Person.DeletePerson", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } } - } - ], - "responses": { - "204": { - "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -13043,14 +8116,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.Person" + "Person.Employee" ], - "summary": "Get BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetBestFriend", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -13115,11 +8187,11 @@ ], "responses": { "200": { - "description": "Retrieved navigation property", + "description": "Result entities", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -13127,18 +8199,13 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/BestFriend/$ref": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { - "tags": [ - "People.Person" - ], - "summary": "Get ref of BestFriend from People", - "description": "The best friend.", - "operationId": "People.GetRefBestFriend", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -13153,109 +8220,28 @@ ], "responses": { "200": { - "description": "Retrieved navigation property link", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "type": "string" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "put": { - "tags": [ - "People.Person" - ], - "summary": "Update the ref of navigation property BestFriend in People", - "description": "The best friend.", - "operationId": "People.UpdateRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref values", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" + "$ref": "#/components/schemas/ODataCountResponse" } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "delete": { - "tags": [ - "People.Person" - ], - "summary": "Delete ref of navigation property BestFriend for People", - "description": "The best friend.", - "operationId": "People.DeleteRefBestFriend", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "operation" + } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -13324,7 +8310,40 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -13335,13 +8354,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { "get": { "tags": [ - "People.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "operationId": "NewComePeople.Person.GetFavoriteAirline", "parameters": [ { "name": "UserName", @@ -13375,23 +8394,15 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { "tags": [ - "People.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "operationId": "NewComePeople.Person.GetFriendsTrips", "parameters": [ { "name": "UserName", @@ -13406,7 +8417,7 @@ { "name": "userName", "in": "path", - "description": "Usage: userName={userName}", + "description": "Usage: userName='{userName}'", "required": true, "schema": { "type": "string" @@ -13419,7 +8430,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -13443,23 +8454,15 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "NewComePeople.Actions" ], "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "operationId": "NewComePeople.Person.GetPeersForTrip", "parameters": [ { "name": "UserName", @@ -13500,7 +8503,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of Person", "type": "object", "properties": { "value": { @@ -13524,24 +8527,68 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { "tags": [ - "People.Actions" + "NewComePeople.Actions" + ], + "summary": "Invoke action Hire", + "description": "Hires someone for the company.", + "operationId": "NewComePeople.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "Action parameters", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hire": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "action" + } + }, + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { + "post": { + "tags": [ + "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "operationId": "NewComePeople.Person.ShareTrip", "parameters": [ { "name": "UserName", @@ -13585,23 +8632,15 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { "tags": [ - "People.Functions" + "NewComePeople.Functions" ], "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "operationId": "NewComePeople.Person.UpdatePersonLastName", "parameters": [ { "name": "UserName", @@ -13616,7 +8655,7 @@ { "name": "lastName", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "Usage: lastName='{lastName}'", "required": true, "schema": { "type": "string" @@ -13645,23 +8684,16 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/NewComePeople/{UserName}/Trips": { "get": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trip" ], - "summary": "Get Peers from People", - "operationId": "People.BestFriend.ListPeers", + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.ListTrips", "parameters": [ { "name": "UserName", @@ -13699,32 +8731,176 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "TripId", + "TripId desc", + "ShareId", + "ShareId desc", + "Name", + "Name desc", + "Budget", + "Budget desc", + "Description", + "Description desc", + "Tags", + "Tags desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "PlanItems" ], "type": "string" } } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.CreateTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/NewComePeople/{UserName}/Trips/{TripId}": { + "get": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.GetTrips", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" }, { "name": "$select", @@ -13737,20 +8913,15 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "TripId", + "ShareId", + "Name", + "Budget", + "Description", + "Tags", + "StartsAt", + "EndsAt", + "PlanItems" ], "type": "string" } @@ -13768,9 +8939,7 @@ "items": { "enum": [ "*", - "Friends", - "BestFriend", - "Trips" + "PlanItems" ], "type": "string" } @@ -13783,16 +8952,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" } } } @@ -13803,18 +8963,13 @@ }, "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { - "delete": { + "patch": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trip" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.BestFriend.DeleteRefPeers", + "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.UpdateTrips", "parameters": [ { "name": "UserName", @@ -13827,32 +8982,30 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "If-Match", - "in": "header", - "description": "ETag", - "schema": { - "type": "string" - } - }, - { - "name": "@id", - "in": "query", - "description": "Delete Uri", - "schema": { - "type": "string" - } + "x-ms-docs-key-type": "Trip" } ], + "requestBody": { + "description": "New navigation property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" + } + } + }, + "required": true + }, "responses": { "204": { "description": "Success" @@ -13862,12 +9015,14 @@ } }, "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + }, + "delete": { + "tags": [ + "NewComePeople.Trip" + ], + "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", + "operationId": "NewComePeople.DeleteTrips", "parameters": [ { "name": "UserName", @@ -13878,165 +9033,32 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "The count of the resource", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ODataCountResponse" - } - } - } }, - "default": { - "$ref": "#/components/responses/error" - } - } - } - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { - "tags": [ - "People.BestFriend.Person" - ], - "summary": "Get ref of Peers from People", - "operationId": "People.BestFriend.ListRefPeers", - "parameters": [ { - "name": "UserName", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" - }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } + "x-ms-docs-key-type": "Trip" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.BestFriend.Person" - ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.BestFriend.CreateRefPeers", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" - }, - "x-ms-docs-key-type": "Person" + } } ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -14045,13 +9067,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/NewComePeople/{UserName}/Trips/{TripId}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetInvolvedPeople()": { "get": { "tags": [ - "Person.Manager" + "NewComePeople.Functions" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Invoke function GetInvolvedPeople", + "operationId": "NewComePeople.Person.Trips.Trip.GetInvolvedPeople", "parameters": [ { "name": "UserName", @@ -14064,63 +9086,40 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", - "in": "query", - "description": "Select properties to be returned", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { "200": { - "description": "Result entities", + "description": "Success", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "title": "Collection of Trip", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + ], + "nullable": true + } + } + } } } } @@ -14128,16 +9127,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "function" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems": { "get": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Get DirectReports from People", - "operationId": "People.BestFriend.ListDirectReports", + "summary": "Get PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListPlanItems", "parameters": [ { "name": "UserName", @@ -14149,6 +9149,19 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, { "$ref": "#/components/parameters/top" }, @@ -14175,28 +9188,16 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -14213,20 +9214,11 @@ "type": "array", "items": { "enum": [ - "UserName", - "FirstName", - "LastName", - "MiddleName", - "Gender", - "Age", - "Emails", - "AddressInfo", - "HomeAddress", - "FavoriteFeature", - "Features", - "Friends", - "BestFriend", - "Trips" + "PlanItemId", + "ConfirmationCode", + "StartsAt", + "EndsAt", + "Duration" ], "type": "string" } @@ -14243,10 +9235,7 @@ "type": "array", "items": { "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "*" ], "type": "string" } @@ -14259,13 +9248,13 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", + "title": "Collection of PlanItem", "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.PlanItem" } } } @@ -14278,19 +9267,15 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" - ] + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/{PlanItemId}/$ref": { "delete": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.BestFriend.DeleteRefDirectReports", + "summary": "Delete ref of navigation property PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.DeleteRefPlanItems", "parameters": [ { "name": "UserName", @@ -14303,14 +9288,30 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", + "name": "TripId", "in": "path", - "description": "key: UserName of Person", + "description": "key: TripId of Trip", "required": true, "schema": { - "type": "string" + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" }, - "x-ms-docs-key-type": "Person" + "x-ms-docs-key-type": "Trip" + }, + { + "name": "PlanItemId", + "in": "path", + "description": "key: PlanItemId of PlanItem", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "PlanItem" }, { "name": "If-Match", @@ -14340,10 +9341,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.PlanItems", "parameters": [ { "name": "UserName", @@ -14354,6 +9355,19 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "responses": { @@ -14373,13 +9387,13 @@ } } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$ref": { "get": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.BestFriend.ListRefDirectReports", + "summary": "Get ref of PlanItems from NewComePeople", + "operationId": "NewComePeople.Trips.ListRefPlanItems", "parameters": [ { "name": "UserName", @@ -14391,6 +9405,19 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" + }, { "$ref": "#/components/parameters/top" }, @@ -14417,28 +9444,16 @@ "type": "array", "items": { "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" + "PlanItemId", + "PlanItemId desc", + "ConfirmationCode", + "ConfirmationCode desc", + "StartsAt", + "StartsAt desc", + "EndsAt", + "EndsAt desc", + "Duration", + "Duration desc" ], "type": "string" } @@ -14451,7 +9466,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of links of PlanItem", "type": "object", "properties": { "value": { @@ -14473,10 +9488,10 @@ }, "post": { "tags": [ - "People.BestFriend.Person" + "NewComePeople.Trips.PlanItem" ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.BestFriend.CreateRefDirectReports", + "summary": "Create new navigation property ref to PlanItems for NewComePeople", + "operationId": "NewComePeople.Trips.CreateRefPlanItems", "parameters": [ { "name": "UserName", @@ -14487,6 +9502,19 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "TripId", + "in": "path", + "description": "key: TripId of Trip", + "required": true, + "schema": { + "maximum": 2147483647, + "minimum": -2147483648, + "type": "integer", + "format": "int32" + }, + "x-ms-docs-key-type": "Trip" } ], "requestBody": { @@ -14521,13 +9549,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/NewComePeople/{UserName}/Trips/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Trips", "parameters": [ { "name": "UserName", @@ -14542,16 +9567,11 @@ ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -14559,67 +9579,20 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/NewComePeople/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Get the number of the resource", + "operationId": "Get.Count.NewComePeople", "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -14627,77 +9600,134 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People": { + "get": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Get entities from People", + "operationId": "People.Person.ListPerson", "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved entities", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -14708,86 +9738,50 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" + } }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } + "People.Person" ], + "summary": "Add new entity to People", + "operationId": "People.Person.CreatePerson", "requestBody": { - "description": "Action parameters", + "description": "New entity", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } }, "required": true }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}": { "get": { "tags": [ - "People.Functions" + "People.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Get entity from People by key", + "operationId": "People.Person.GetPerson", "parameters": [ { "name": "UserName", @@ -14800,28 +9794,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved entity", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -14830,24 +9859,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, - "/People/{UserName}/Friends": { - "get": { + "patch": { "tags": [ "People.Person" ], - "summary": "Get Friends from People", - "operationId": "People.ListFriends", + "summary": "Update entity in People", + "operationId": "People.Person.UpdatePerson", "parameters": [ { "name": "UserName", @@ -14858,59 +9877,84 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New property values", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } }, - { - "$ref": "#/components/parameters/top" - }, - { - "$ref": "#/components/parameters/skip" - }, - { - "$ref": "#/components/parameters/search" - }, - { - "$ref": "#/components/parameters/filter" + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete entity from People", + "operationId": "People.Person.DeletePerson", + "parameters": [ { - "$ref": "#/components/parameters/count" + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetBestFriend", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" }, { "name": "$select", @@ -14969,16 +10013,7 @@ "content": { "application/json": { "schema": { - "title": "Collection of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -14990,13 +10025,14 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/$ref": { - "delete": { + "/People/{UserName}/BestFriend/$ref": { + "get": { "tags": [ "People.Person" ], - "summary": "Delete ref of navigation property Friends for People", - "operationId": "People.DeleteRefFriends", + "summary": "Get ref of BestFriend from People", + "description": "The best friend.", + "operationId": "People.GetRefBestFriend", "parameters": [ { "name": "UserName", @@ -15007,9 +10043,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property link", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "put": { + "tags": [ + "People.Person" + ], + "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", + "operationId": "People.UpdateRefBestFriend", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -15017,19 +10079,54 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref values", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "204": { + "description": "Success" }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + }, + "delete": { + "tags": [ + "People.Person" + ], + "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", + "operationId": "People.DeleteRefBestFriend", + "parameters": [ { - "name": "If-Match", - "in": "header", - "description": "ETag", + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" }, { - "name": "@id", - "in": "query", - "description": "Delete Uri", + "name": "If-Match", + "in": "header", + "description": "ETag", "schema": { "type": "string" } @@ -15046,7 +10143,7 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ "Person.Employee" @@ -15064,16 +10161,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "$select", "in": "query", @@ -15142,13 +10229,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ - "People.Functions" + "People.BestFriend.Person" ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get Peers from People", + "operationId": "People.BestFriend.ListPeers", "parameters": [ { "name": "UserName", @@ -15161,28 +10248,125 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property", "content": { "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } } - ], - "nullable": true + } } } } @@ -15191,24 +10375,20 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Functions" + "People.BestFriend.Person" ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.BestFriend.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -15231,36 +10411,56 @@ "x-ms-docs-key-type": "Person" }, { - "name": "userName", + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Success" + }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Peers", + "parameters": [ + { + "name": "UserName", "in": "path", - "description": "Usage: userName={userName}", + "description": "key: UserName of Person", "required": true, "schema": { "type": "string" - } + }, + "x-ms-docs-key-type": "Person" } ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -15268,25 +10468,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { + "get": { "tags": [ - "People.Actions" + "People.BestFriend.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", + "summary": "Get ref of Peers from People", + "operationId": "People.BestFriend.ListRefPeers", "parameters": [ { "name": "UserName", @@ -15299,56 +10490,72 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" } } - }, - "required": true - }, + } + ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Employee", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true + "type": "string" } } } @@ -15360,25 +10567,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ - "People.Actions" + "People.BestFriend.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.BestFriend.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -15389,34 +10585,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -15424,31 +10602,30 @@ "required": true }, "responses": { - "204": { - "description": "Success" + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "People.Functions" + "Person.Manager" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -15461,38 +10638,63 @@ "x-ms-docs-key-type": "Person" }, { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -15500,25 +10702,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { "get": { "tags": [ - "People.Friends.Person" + "People.BestFriend.Person" ], - "summary": "Get Peers from People", - "operationId": "People.Friends.ListPeers", + "summary": "Get DirectReports from People", + "operationId": "People.BestFriend.ListDirectReports", "parameters": [ { "name": "UserName", @@ -15530,16 +10723,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "$ref": "#/components/parameters/top" }, @@ -15671,17 +10854,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref": { "delete": { "tags": [ - "People.Friends.Person" + "People.BestFriend.Person" ], - "summary": "Delete ref of navigation property Peers for People", - "operationId": "People.Friends.DeleteRefPeers", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.BestFriend.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -15703,16 +10886,6 @@ }, "x-ms-docs-key-type": "Person" }, - { - "name": "UserName2", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, { "name": "If-Match", "in": "header", @@ -15741,10 +10914,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -15755,9 +10928,35 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "get": { + "tags": [ + "People.BestFriend.Person" + ], + "summary": "Get ref of DirectReports from People", + "operationId": "People.BestFriend.ListRefDirectReports", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -15765,15 +10964,77 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "The count of the resource", + "description": "Retrieved navigation property links", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -15781,16 +11042,15 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { - "get": { + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { "tags": [ - "People.Friends.Person" + "People.BestFriend.Person" ], - "summary": "Get ref of Peers from People", - "operationId": "People.Friends.ListRefPeers", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.BestFriend.CreateRefDirectReports", "parameters": [ { "name": "UserName", @@ -15801,9 +11061,50 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + } + ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Created navigation property link.", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } }, + "default": { + "$ref": "#/components/responses/error" + } + }, + "x-ms-docs-operation-type": "operation" + } + }, + "/People/{UserName}/Friends": { + "get": { + "tags": [ + "People.Person" + ], + "summary": "Get Friends from People", + "operationId": "People.ListFriends", + "parameters": [ { - "name": "UserName1", + "name": "UserName", "in": "path", "description": "key: UserName of Person", "required": true, @@ -15864,21 +11165,71 @@ "type": "string" } } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } } ], "responses": { "200": { - "description": "Retrieved navigation property links", + "description": "Retrieved navigation property", "content": { "application/json": { "schema": { - "title": "Collection of links of Person", + "title": "Collection of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } } } @@ -15891,13 +11242,15 @@ } }, "x-ms-docs-operation-type": "operation" - }, - "post": { + } + }, + "/People/{UserName}/Friends/{UserName1}/$ref": { + "delete": { "tags": [ - "People.Friends.Person" + "People.Person" ], - "summary": "Create new navigation property ref to Peers for People", - "operationId": "People.Friends.CreateRefPeers", + "summary": "Delete ref of navigation property Friends for People", + "operationId": "People.DeleteRefFriends", "parameters": [ { "name": "UserName", @@ -15918,32 +11271,27 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } + { + "name": "@id", + "in": "query", + "description": "Delete Uri", + "schema": { + "type": "string" } + } + ], + "responses": { + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" @@ -15952,13 +11300,13 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Person.Manager" + "Person.Employee" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -16037,7 +11385,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -16048,13 +11396,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get DirectReports from People", - "operationId": "People.Friends.ListDirectReports", + "summary": "Get Peers from People", + "operationId": "People.Friends.ListPeers", "parameters": [ { "name": "UserName", @@ -16207,17 +11555,17 @@ "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName2}/$ref": { "delete": { "tags": [ "People.Friends.Person" ], - "summary": "Delete ref of navigation property DirectReports for People", - "operationId": "People.Friends.DeleteRefDirectReports", + "summary": "Delete ref of navigation property Peers for People", + "operationId": "People.Friends.DeleteRefPeers", "parameters": [ { "name": "UserName", @@ -16277,10 +11625,10 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.Peers", "parameters": [ { "name": "UserName", @@ -16320,13 +11668,13 @@ } } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref": { "get": { "tags": [ "People.Friends.Person" ], - "summary": "Get ref of DirectReports from People", - "operationId": "People.Friends.ListRefDirectReports", + "summary": "Get ref of Peers from People", + "operationId": "People.Friends.ListRefPeers", "parameters": [ { "name": "UserName", @@ -16432,8 +11780,8 @@ "tags": [ "People.Friends.Person" ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.Friends.CreateRefDirectReports", + "summary": "Create new navigation property ref to Peers for People", + "operationId": "People.Friends.CreateRefPeers", "parameters": [ { "name": "UserName", @@ -16467,146 +11815,16 @@ } } } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "UserName1", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], + }, + "required": true + }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } + "type": "object" } } } @@ -16615,24 +11833,16 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "get": { "tags": [ - "People.Actions" + "Person.Manager" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -16653,51 +11863,65 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" } } }, - "required": true - }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -16705,26 +11929,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } + } }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports": { + "get": { "tags": [ - "People.Actions" + "People.Friends.Person" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", + "summary": "Get DirectReports from People", + "operationId": "People.Friends.ListDirectReports", "parameters": [ { "name": "UserName", @@ -16745,56 +11959,149 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" + }, + { + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } + } + }, + { + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + }, + { + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Retrieved navigation property", + "content": { + "application/json": { + "schema": { + "title": "Collection of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" + } + } } } } } }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" + "x-ms-docs-operation-type": "operation" }, "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" + "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports", + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports" ] }, - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName2}/$ref": { + "delete": { "tags": [ - "People.Functions" + "People.Friends.Person" ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", + "summary": "Delete ref of navigation property DirectReports for People", + "operationId": "People.Friends.DeleteRefDirectReports", "parameters": [ { "name": "UserName", @@ -16817,51 +12124,47 @@ "x-ms-docs-key-type": "Person" }, { - "name": "lastName", + "name": "UserName2", "in": "path", - "description": "Usage: lastName={lastName}", + "description": "key: UserName of Person", "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, + { + "name": "If-Match", + "in": "header", + "description": "ETag", + "schema": { + "type": "string" + } + }, + { + "name": "@id", + "in": "query", + "description": "Delete Uri", "schema": { "type": "string" } } ], "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } + "204": { + "description": "Success" }, "default": { "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + "x-ms-docs-operation-type": "operation" + } }, - "/People/{UserName}/Friends/$count": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.DirectReports", "parameters": [ { "name": "UserName", @@ -16872,6 +12175,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "responses": { @@ -16891,13 +12204,13 @@ } } }, - "/People/{UserName}/Friends/$ref": { + "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref": { "get": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Get ref of Friends from People", - "operationId": "People.ListRefFriends", + "summary": "Get ref of DirectReports from People", + "operationId": "People.Friends.ListRefDirectReports", "parameters": [ { "name": "UserName", @@ -16909,6 +12222,16 @@ }, "x-ms-docs-key-type": "Person" }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + }, { "$ref": "#/components/parameters/top" }, @@ -16991,10 +12314,10 @@ }, "post": { "tags": [ - "People.Person" + "People.Friends.Person" ], - "summary": "Create new navigation property ref to Friends for People", - "operationId": "People.CreateRefFriends", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.Friends.CreateRefDirectReports", "parameters": [ { "name": "UserName", @@ -17005,6 +12328,16 @@ "type": "string" }, "x-ms-docs-key-type": "Person" + }, + { + "name": "UserName1", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" } ], "requestBody": { @@ -17039,13 +12372,46 @@ "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/$count": { + "get": { + "summary": "Get the number of the resource", + "operationId": "Get.Count.Friends", + "parameters": [ + { + "name": "UserName", + "in": "path", + "description": "key: UserName of Person", + "required": true, + "schema": { + "type": "string" + }, + "x-ms-docs-key-type": "Person" + } + ], + "responses": { + "200": { + "description": "The count of the resource", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ODataCountResponse" + } + } + } + }, + "default": { + "$ref": "#/components/responses/error" + } + } + } + }, + "/People/{UserName}/Friends/$ref": { "get": { "tags": [ - "Person.Employee" + "People.Person" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get ref of Friends from People", + "operationId": "People.ListRefFriends", "parameters": [ { "name": "UserName", @@ -17058,9 +12424,24 @@ "x-ms-docs-key-type": "Person" }, { - "name": "$select", + "$ref": "#/components/parameters/top" + }, + { + "$ref": "#/components/parameters/skip" + }, + { + "$ref": "#/components/parameters/search" + }, + { + "$ref": "#/components/parameters/filter" + }, + { + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", "in": "query", - "description": "Select properties to be returned", + "description": "Order items by property values", "style": "form", "explode": false, "schema": { @@ -17069,39 +12450,27 @@ "items": { "enum": [ "UserName", + "UserName desc", "FirstName", + "FirstName desc", "LastName", + "LastName desc", "MiddleName", + "MiddleName desc", "Gender", + "Gender desc", "Age", + "Age desc", "Emails", + "Emails desc", "AddressInfo", + "AddressInfo desc", "HomeAddress", + "HomeAddress desc", "FavoriteFeature", + "FavoriteFeature desc", "Features", - "Friends", - "BestFriend", - "Trips" - ], - "type": "string" - } - } - }, - { - "name": "$expand", - "in": "query", - "description": "Expand related entities", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "*", - "Friends", - "BestFriend", - "Trips" + "Features desc" ], "type": "string" } @@ -17110,11 +12479,20 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "title": "Collection of links of Person", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "type": "string" + } + } + } } } } @@ -17122,13 +12500,15 @@ "default": { "$ref": "#/components/responses/error" } - } - } - }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { - "get": { - "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + }, + "x-ms-docs-operation-type": "operation" + }, + "post": { + "tags": [ + "People.Person" + ], + "summary": "Create new navigation property ref to Friends for People", + "operationId": "People.CreateRefFriends", "parameters": [ { "name": "UserName", @@ -17141,13 +12521,27 @@ "x-ms-docs-key-type": "Person" } ], + "requestBody": { + "description": "New navigation property ref value", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "required": true + }, "responses": { - "200": { - "description": "The count of the resource", + "201": { + "description": "Created navigation property link.", "content": { - "text/plain": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ODataCountResponse" + "type": "object" } } } @@ -17155,16 +12549,17 @@ "default": { "$ref": "#/components/responses/error" } - } + }, + "x-ms-docs-operation-type": "operation" } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "Person.Manager" + "Person.Employee" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -17233,7 +12628,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -17244,10 +12639,10 @@ } } }, - "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -17277,13 +12672,13 @@ } } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { "tags": [ - "Person.Employee" + "Person.Manager" ], - "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -17352,7 +12747,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } } } @@ -17363,13 +12758,10 @@ } } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { + "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline", + "summary": "Get the number of the resource", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "parameters": [ { "name": "UserName", @@ -17384,16 +12776,11 @@ ], "responses": { "200": { - "description": "Success", + "description": "The count of the resource", "content": { - "application/json": { + "text/plain": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true + "$ref": "#/components/schemas/ODataCountResponse" } } } @@ -17401,175 +12788,16 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } + } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { + "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee": { "get": { "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "title": "Collection of Employee", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" + "Person.Employee" ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", "parameters": [ { "name": "UserName", @@ -17580,90 +12808,65 @@ "type": "string" }, "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName", - "parameters": [ { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, + "name": "$select", + "in": "query", + "description": "Select properties to be returned", + "style": "form", + "explode": false, "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "FirstName", + "LastName", + "MiddleName", + "Gender", + "Age", + "Emails", + "AddressInfo", + "HomeAddress", + "FavoriteFeature", + "Features", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } + } }, { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, + "name": "$expand", + "in": "query", + "description": "Expand related entities", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "*", + "Friends", + "BestFriend", + "Trips" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Result entities", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } } } @@ -17671,17 +12874,8 @@ "default": { "$ref": "#/components/responses/error" } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers": { "get": { @@ -18113,15 +13307,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName='{userName}')": { "get": { @@ -18181,15 +13367,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { @@ -18262,15 +13440,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager": { "get": { @@ -18627,223 +13797,64 @@ { "$ref": "#/components/parameters/search" }, - { - "$ref": "#/components/parameters/filter" - }, - { - "$ref": "#/components/parameters/count" - }, - { - "name": "$orderby", - "in": "query", - "description": "Order items by property values", - "style": "form", - "explode": false, - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "enum": [ - "UserName", - "UserName desc", - "FirstName", - "FirstName desc", - "LastName", - "LastName desc", - "MiddleName", - "MiddleName desc", - "Gender", - "Gender desc", - "Age", - "Age desc", - "Emails", - "Emails desc", - "AddressInfo", - "AddressInfo desc", - "HomeAddress", - "HomeAddress desc", - "FavoriteFeature", - "FavoriteFeature desc", - "Features", - "Features desc" - ], - "type": "string" - } - } - } - ], - "responses": { - "200": { - "description": "Retrieved navigation property links", - "content": { - "application/json": { - "schema": { - "title": "Collection of links of Person", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - }, - "post": { - "tags": [ - "People.Person" - ], - "summary": "Create new navigation property ref to DirectReports for People", - "operationId": "People.CreateRefDirectReports", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "New navigation property ref value", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object" - } - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "Created navigation property link.", - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "operation" - } - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFavoriteAirline", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline" - } - ], - "nullable": true - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function GetFriendsTrips", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" + { + "$ref": "#/components/parameters/filter" }, { - "name": "userName", - "in": "path", - "description": "Usage: userName={userName}", - "required": true, + "$ref": "#/components/parameters/count" + }, + { + "name": "$orderby", + "in": "query", + "description": "Order items by property values", + "style": "form", + "explode": false, "schema": { - "type": "string" + "uniqueItems": true, + "type": "array", + "items": { + "enum": [ + "UserName", + "UserName desc", + "FirstName", + "FirstName desc", + "LastName", + "LastName desc", + "MiddleName", + "MiddleName desc", + "Gender", + "Gender desc", + "Age", + "Age desc", + "Emails", + "Emails desc", + "AddressInfo", + "AddressInfo desc", + "HomeAddress", + "HomeAddress desc", + "FavoriteFeature", + "FavoriteFeature desc", + "Features", + "Features desc" + ], + "type": "string" + } } } ], "responses": { "200": { - "description": "Success", + "description": "Retrieved navigation property links", "content": { "application/json": { "schema": { - "title": "Collection of Manager", + "title": "Collection of links of Person", "type": "object", "properties": { "value": { "type": "array", "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } - ], - "nullable": true + "type": "string" } } } @@ -18855,24 +13866,14 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "function" + "x-ms-docs-operation-type": "operation" }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip": { "post": { "tags": [ - "People.Actions" + "People.Person" ], - "summary": "Invoke action GetPeersForTrip", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip", + "summary": "Create new navigation property ref to DirectReports for People", + "operationId": "People.CreateRefDirectReports", "parameters": [ { "name": "UserName", @@ -18886,21 +13887,13 @@ } ], "requestBody": { - "description": "Action parameters", + "description": "New navigation property ref value", "content": { "application/json": { "schema": { "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } + "additionalProperties": { + "type": "object" } } } @@ -18908,26 +13901,12 @@ "required": true }, "responses": { - "200": { - "description": "Success", + "201": { + "description": "Created navigation property link.", "content": { "application/json": { "schema": { - "title": "Collection of Manager", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" - } - ], - "nullable": true - } - } - } + "type": "object" } } } @@ -18936,16 +13915,8 @@ "$ref": "#/components/responses/error" } }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip" - ] + "x-ms-docs-operation-type": "operation" + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire": { "post": { @@ -18999,127 +13970,6 @@ "x-ms-docs-operation-type": "action" } }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { - "post": { - "tags": [ - "People.Actions" - ], - "summary": "Invoke action ShareTrip", - "description": "Details of the shared trip.", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - } - ], - "requestBody": { - "description": "Action parameters", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "userName": { - "type": "string" - }, - "tripId": { - "maximum": 2147483647, - "minimum": -2147483648, - "type": "integer", - "format": "int32" - } - } - } - } - }, - "required": true - }, - "responses": { - "204": { - "description": "Success" - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] - }, - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})": { - "get": { - "tags": [ - "People.Functions" - ], - "summary": "Invoke function UpdatePersonLastName", - "operationId": "People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName", - "parameters": [ - { - "name": "UserName", - "in": "path", - "description": "key: UserName of Person", - "required": true, - "schema": { - "type": "string" - }, - "x-ms-docs-key-type": "Person" - }, - { - "name": "lastName", - "in": "path", - "description": "Usage: lastName={lastName}", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - } - }, - "default": { - "$ref": "#/components/responses/error" - } - }, - "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] - }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip": { "post": { "tags": [ @@ -19171,15 +14021,7 @@ } }, "x-ms-docs-operation-type": "action" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip" - ] + } }, "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName='{lastName}')": { "get": { @@ -19231,15 +14073,7 @@ } }, "x-ms-docs-operation-type": "function" - }, - "x-ms-docs-grouped-path": [ - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})", - "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})" - ] + } }, "/People/{UserName}/Trips": { "get": { @@ -21373,14 +16207,6 @@ { "name": "Person.Employee" }, - { - "name": "Me.Functions", - "x-ms-docs-toc-type": "container" - }, - { - "name": "Me.Actions", - "x-ms-docs-toc-type": "container" - }, { "name": "Me.BestFriend.Person", "x-ms-docs-toc-type": "page" @@ -21392,6 +16218,14 @@ "name": "Me.Friends.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "Me.Functions", + "x-ms-docs-toc-type": "container" + }, + { + "name": "Me.Actions", + "x-ms-docs-toc-type": "container" + }, { "name": "Me.Trip", "x-ms-docs-toc-type": "page" @@ -21404,6 +16238,14 @@ "name": "NewComePeople.Person", "x-ms-docs-toc-type": "page" }, + { + "name": "NewComePeople.BestFriend.Person", + "x-ms-docs-toc-type": "page" + }, + { + "name": "NewComePeople.Friends.Person", + "x-ms-docs-toc-type": "page" + }, { "name": "NewComePeople.Functions", "x-ms-docs-toc-type": "container" @@ -21413,23 +16255,23 @@ "x-ms-docs-toc-type": "container" }, { - "name": "NewComePeople.BestFriend.Person", + "name": "NewComePeople.Trip", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Friends.Person", + "name": "NewComePeople.Trips.PlanItem", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Trip", + "name": "People.Person", "x-ms-docs-toc-type": "page" }, { - "name": "NewComePeople.Trips.PlanItem", + "name": "People.BestFriend.Person", "x-ms-docs-toc-type": "page" }, { - "name": "People.Person", + "name": "People.Friends.Person", "x-ms-docs-toc-type": "page" }, { @@ -21440,14 +16282,6 @@ "name": "People.Actions", "x-ms-docs-toc-type": "container" }, - { - "name": "People.BestFriend.Person", - "x-ms-docs-toc-type": "page" - }, - { - "name": "People.Friends.Person", - "x-ms-docs-toc-type": "page" - }, { "name": "People.Trip", "x-ms-docs-toc-type": "page" 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 f2a87f59..e3fd745b 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -723,184 +723,6 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: get: tags: @@ -1421,191 +1243,214 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + /Me/Friends: get: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + - Me.Person + summary: Get Friends from Me + operationId: Me.ListFriends parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - UserName desc + - FirstName + - FirstName desc + - LastName + - LastName desc + - MiddleName + - MiddleName desc + - Gender + - Gender desc + - Age + - Age desc + - Emails + - Emails desc + - AddressInfo + - AddressInfo desc + - HomeAddress + - HomeAddress desc + - FavoriteFeature + - FavoriteFeature desc + - Features + - Features desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Retrieved navigation property content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: type: array items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/$ref': + delete: tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - Me.Person + summary: Delete ref of navigation property Friends for Me + operationId: Me.DeleteRefFriends + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - - name: lastName + - name: UserName in: path - description: 'Usage: lastName={lastName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends: + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: - - Me.Person - summary: Get Friends from Me - operationId: Me.ListFriends + - Me.Friends.Person + summary: Get Peers from Me + operationId: Me.Friends.ListPeers parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -1700,12 +1545,15 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/$ref': + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': delete: tags: - - Me.Person - summary: Delete ref of navigation property Friends for Me - operationId: Me.DeleteRefFriends + - Me.Friends.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.Friends.DeleteRefPeers parameters: - name: UserName in: path @@ -1714,6 +1562,13 @@ paths: schema: type: string x-ms-docs-key-type: Person + - name: UserName1 + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person - name: If-Match in: header description: ETag @@ -1730,12 +1585,33 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + get: + summary: Get the number of the resource + operationId: Get.Count.Peers + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Friends.Person + summary: Get ref of Peers from Me + operationId: Me.Friends.ListRefPeers parameters: - name: UserName in: path @@ -1744,9 +1620,14 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -1755,128 +1636,49 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities + description: Retrieved navigation property links content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: + x-ms-docs-operation-type: operation + post: tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + - Me.Friends.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.Friends.CreateRefPeers parameters: - name: UserName in: path @@ -1886,94 +1688,30 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New navigation property ref value content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + additionalProperties: + type: object required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: - title: Collection of Employee type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - name: UserName in: path @@ -1982,39 +1720,61 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': get: tags: - Me.Friends.Person - summary: Get Peers from Me - operationId: Me.Friends.ListPeers + summary: Get DirectReports from Me + operationId: Me.Friends.ListDirectReports parameters: - name: UserName in: path @@ -2118,14 +1878,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName1}/$ref': + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': delete: tags: - Me.Friends.Person - summary: Delete ref of navigation property Peers for Me - operationId: Me.Friends.DeleteRefPeers + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.Friends.DeleteRefDirectReports parameters: - name: UserName in: path @@ -2157,10 +1917,10 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.DirectReports parameters: - name: UserName in: path @@ -2178,12 +1938,12 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref': + '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': get: tags: - Me.Friends.Person - summary: Get ref of Peers from Me - operationId: Me.Friends.ListRefPeers + summary: Get ref of DirectReports from Me + operationId: Me.Friends.ListRefDirectReports parameters: - name: UserName in: path @@ -2249,8 +2009,8 @@ paths: post: tags: - Me.Friends.Person - summary: Create new navigation property ref to Peers for Me - operationId: Me.Friends.CreateRefPeers + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.Friends.CreateRefDirectReports parameters: - name: UserName in: path @@ -2278,23 +2038,34 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': + /Me/Friends/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Friends + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Friends/$ref: get: tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + - Me.Person + summary: Get ref of Friends from Me + operationId: Me.ListRefFriends parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -2303,19 +2074,168 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips + - Features desc + type: string + responses: + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + post: + tags: + - Me.Person + summary: Create new navigation property ref to Friends for Me + operationId: Me.CreateRefFriends + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true + responses: + '201': + description: Created navigation property link. + content: + application/json: + schema: + type: object + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + get: + tags: + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: + get: + tags: + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips type: string - name: $expand in: query @@ -2341,20 +2261,82 @@ paths: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports': + /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + get: + summary: Get the number of the resource + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + responses: + '200': + description: The count of the resource + content: + text/plain: + schema: + $ref: '#/components/schemas/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: get: tags: - - Me.Friends.Person - summary: Get DirectReports from Me - operationId: Me.Friends.ListDirectReports + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string + responses: + '200': + description: Result entities + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' + default: + $ref: '#/components/responses/error' + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + get: + tags: + - Me.Person + summary: Get Peers from Me + operationId: Me.ListPeers + parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -2450,14 +2432,14 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName1}/$ref': + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': delete: tags: - - Me.Friends.Person - summary: Delete ref of navigation property DirectReports for Me - operationId: Me.Friends.DeleteRefDirectReports + - Me.Person + summary: Delete ref of navigation property Peers for Me + operationId: Me.DeleteRefPeers parameters: - name: UserName in: path @@ -2466,13 +2448,6 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: If-Match in: header description: ETag @@ -2489,18 +2464,10 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Get.Count.Peers responses: '200': description: The count of the resource @@ -2510,20 +2477,13 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: get: tags: - - Me.Friends.Person - summary: Get ref of DirectReports from Me - operationId: Me.Friends.ListRefDirectReports + - Me.Person + summary: Get ref of Peers from Me + operationId: Me.ListRefPeers parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' @@ -2580,17 +2540,9 @@ paths: x-ms-docs-operation-type: operation post: tags: - - Me.Friends.Person - summary: Create new navigation property ref to DirectReports for Me - operationId: Me.Friends.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + - Me.Person + summary: Create new navigation property ref to Peers for Me + operationId: Me.CreateRefPeers requestBody: description: New navigation property ref value content: @@ -2610,20 +2562,12 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): get: tags: - Me.Functions summary: Invoke function GetFavoriteAirline - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.GetFavoriteAirline responses: '200': description: Success @@ -2636,30 +2580,16 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: - Me.Functions summary: Invoke function GetFriendsTrips - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips + operationId: Me.GetFriendsTrips parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - name: userName in: path - description: 'Usage: userName={userName}' + description: 'Usage: userName=''{userName}''' required: true schema: type: string @@ -2669,7 +2599,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -2681,27 +2611,12 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: post: tags: - Me.Actions summary: Invoke action GetPeersForTrip - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person + operationId: Me.GetPeersForTrip requestBody: description: Action parameters content: @@ -2723,7 +2638,7 @@ paths: content: application/json: schema: - title: Collection of Manager + title: Collection of Person type: object properties: value: @@ -2735,116 +2650,68 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: get: tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - Person.Manager + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Friends/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Friends - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: $ref: '#/components/responses/error' - /Me/Friends/$ref: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: get: tags: - Me.Person - summary: Get ref of Friends from Me - operationId: Me.ListRefFriends + summary: Get DirectReports from Me + operationId: Me.ListDirectReports parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -2884,53 +2751,6 @@ paths: - Features - Features desc type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to Friends for Me - operationId: Me.CreateRefFriends - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - name: $select in: query description: Select properties to be returned @@ -2973,86 +2793,57 @@ paths: type: string responses: '200': - description: Result entities + description: Retrieved navigation property content: application/json: schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' + title: Collection of Person + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports + - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': + delete: + tags: + - Me.Person + summary: Delete ref of navigation property DirectReports for Me + operationId: Me.DeleteRefDirectReports parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false + - name: UserName + in: path + description: 'key: UserName of Person' + required: true schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' in: query - description: Expand related entities - style: form - explode: false + description: Delete Uri schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string + type: string responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' + '204': + description: Success default: $ref: '#/components/responses/error' - /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.DirectReports responses: '200': description: The count of the resource @@ -3062,16 +2853,21 @@ paths: $ref: '#/components/schemas/ODataCountResponse' default: $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: get: tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + - Me.Person + summary: Get ref of DirectReports from Me + operationId: Me.ListRefDirectReports parameters: - - name: $select + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby in: query - description: Select properties to be returned + description: Order items by property values style: form explode: false schema: @@ -3080,113 +2876,75 @@ paths: items: enum: - UserName + - UserName desc - FirstName + - FirstName desc - LastName + - LastName desc - MiddleName + - MiddleName desc - Gender + - Gender desc - Age + - Age desc - Emails + - Emails desc - AddressInfo + - AddressInfo desc - HomeAddress + - HomeAddress desc - FavoriteFeature + - FavoriteFeature desc - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips + - Features desc type: string responses: '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - responses: - '200': - description: Success + description: Retrieved navigation property links content: application/json: schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: + x-ms-docs-operation-type: operation + post: tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string + - Me.Person + summary: Create new navigation property ref to DirectReports for Me + operationId: Me.CreateRefDirectReports + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: - title: Collection of Employee type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: + x-ms-docs-operation-type: operation + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: post: tags: - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip + summary: Invoke action Hire + description: Hires someone for the company. + operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire requestBody: description: Action parameters content: @@ -3194,46 +2952,24 @@ paths: schema: type: object properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + hire: + anyOf: + - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + nullable: true required: true responses: - '200': + '204': description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: + /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: post: tags: - Me.Actions summary: Invoke action ShareTrip description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: Me.ShareTrip requestBody: description: Action parameters content: @@ -3255,23 +2991,16 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: - Me.Functions summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + operationId: Me.UpdatePersonLastName parameters: - name: lastName in: path - description: 'Usage: lastName={lastName}' + description: 'Usage: lastName=''{lastName}''' required: true schema: type: string @@ -3289,921 +3018,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers: + /Me/Trips: get: tags: - - Me.Person - summary: Get Peers from Me - operationId: Me.ListPeers - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/{UserName}/$ref': - delete: - tags: - - Me.Person - summary: Delete ref of navigation property Peers for Me - operationId: Me.DeleteRefPeers - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.Peers - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$ref: - get: - tags: - - Me.Person - summary: Get ref of Peers from Me - operationId: Me.ListRefPeers - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to Peers for Me - operationId: Me.CreateRefPeers - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName=''{userName}''' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager: - get: - tags: - - Person.Manager - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports: - get: - tags: - - Me.Person - summary: Get DirectReports from Me - operationId: Me.ListDirectReports - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - title: Collection of Person - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports' - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/{UserName}/$ref': - delete: - tags: - - Me.Person - summary: Delete ref of navigation property DirectReports for Me - operationId: Me.DeleteRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: - get: - summary: Get the number of the resource - operationId: Get.Count.DirectReports - responses: - '200': - description: The count of the resource - content: - text/plain: - schema: - $ref: '#/components/schemas/ODataCountResponse' - default: - $ref: '#/components/responses/error' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$ref: - get: - tags: - - Me.Person - summary: Get ref of DirectReports from Me - operationId: Me.ListRefDirectReports - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - UserName desc - - FirstName - - FirstName desc - - LastName - - LastName desc - - MiddleName - - MiddleName desc - - Gender - - Gender desc - - Age - - Age desc - - Emails - - Emails desc - - AddressInfo - - AddressInfo desc - - HomeAddress - - HomeAddress desc - - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - Me.Person - summary: Create new navigation property ref to DirectReports for Me - operationId: Me.CreateRefDirectReports - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline(): - get: - tags: - - Me.Functions - summary: Invoke function GetFavoriteAirline - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline() - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - Me.Functions - summary: Invoke function GetFriendsTrips - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip: - post: - tags: - - Me.Actions - summary: Invoke action GetPeersForTrip - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire: - post: - tags: - - Me.Actions - summary: Invoke action Hire - description: Hires someone for the company. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.Hire - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - hire: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip: - post: - tags: - - Me.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: Me.ShareTrip - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - - /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': - get: - tags: - - Me.Functions - summary: Invoke function UpdatePersonLastName - operationId: Me.UpdatePersonLastName - parameters: - - name: lastName - in: path - description: 'Usage: lastName=''{lastName}''' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - /Me/Trips: - get: - tags: - - Me.Trip - summary: Get Trips from Me - description: Collection of trips. - operationId: Me.ListTrips + - Me.Trip + summary: Get Trips from Me + description: Collection of trips. + operationId: Me.ListTrips parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -5084,262 +3905,32 @@ paths: - NewComePeople.Person summary: Delete ref of navigation property BestFriend for NewComePeople description: The best friend. - operationId: NewComePeople.DeleteRefBestFriend - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + operationId: NewComePeople.DeleteRefBestFriend + parameters: + - name: UserName + in: path + description: 'key: UserName of Person' + required: true + schema: + type: string + x-ms-docs-key-type: Person + - name: If-Match + in: header + description: ETag + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -5348,31 +3939,55 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -5945,239 +4560,33 @@ paths: - NewComePeople.BestFriend.Person summary: Create new navigation property ref to DirectReports for NewComePeople operationId: NewComePeople.BestFriend.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName + parameters: + - name: UserName in: path - description: 'Usage: lastName={lastName}' + description: 'key: UserName of Person' required: true schema: type: string + x-ms-docs-key-type: Person + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends': get: tags: @@ -6307,293 +4716,28 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - - name: '@id' - in: query - description: Delete Uri - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: If-Match + in: header + description: ETag + schema: + type: string + - name: '@id' + in: query + description: Delete Uri + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -6609,31 +4753,55 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -7272,198 +5440,10 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation post: - tags: - - NewComePeople.Friends.Person - summary: Create new navigation property ref to DirectReports for NewComePeople - operationId: NewComePeople.Friends.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFavoriteAirline - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function GetFriendsTrips - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action GetPeersForTrip - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - NewComePeople.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip + tags: + - NewComePeople.Friends.Person + summary: Create new navigation property ref to DirectReports for NewComePeople + operationId: NewComePeople.Friends.CreateRefDirectReports parameters: - name: UserName in: path @@ -7480,77 +5460,24 @@ paths: type: string x-ms-docs-key-type: Person requestBody: - description: Action parameters + description: New navigation property ref value content: application/json: schema: type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 + additionalProperties: + type: object required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - NewComePeople.Functions - summary: Invoke function UpdatePersonLastName - operationId: NewComePeople.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -7866,11 +5793,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: @@ -7909,11 +5831,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -7961,11 +5878,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': post: tags: @@ -8035,11 +5947,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: @@ -8074,11 +5981,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/NewComePeople/{UserName}/Trips': get: tags: @@ -9065,228 +6967,7 @@ paths: - People.Person summary: Delete ref of navigation property BestFriend for People description: The best friend. - operationId: People.DeleteRefBestFriend - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': - get: - tags: - - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip + operationId: People.DeleteRefBestFriend parameters: - name: UserName in: path @@ -9295,40 +6976,23 @@ paths: schema: type: string x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - name: If-Match + in: header + description: ETag + schema: + type: string responses: '204': description: Success default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': + x-ms-docs-operation-type: operation + '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': get: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + - Person.Employee + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -9337,33 +7001,55 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -9933,219 +7619,11 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - post: - tags: - - People.BestFriend.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.BestFriend.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: + post: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.BestFriend.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - People.BestFriend.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.BestFriend.CreateRefDirectReports parameters: - name: UserName in: path @@ -10154,33 +7632,25 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/People/{UserName}/Friends': get: tags: @@ -10361,292 +7831,41 @@ paths: - FirstName - LastName - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -11266,274 +8485,31 @@ paths: - HomeAddress - HomeAddress desc - FavoriteFeature - - FavoriteFeature desc - - Features - - Features desc - type: string - responses: - '200': - description: Retrieved navigation property links - content: - application/json: - schema: - title: Collection of links of Person - type: object - properties: - value: - type: array - items: - type: string - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - post: - tags: - - People.Friends.Person - summary: Create new navigation property ref to DirectReports for People - operationId: People.Friends.CreateRefDirectReports - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: New navigation property ref value - content: - application/json: - schema: - type: object - additionalProperties: - type: object - required: true - responses: - '201': - description: Created navigation property link. - content: - application/json: - schema: - type: object - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: UserName1 - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true + - FavoriteFeature desc + - Features + - Features desc + type: string responses: - '204': - description: Success + '200': + description: Retrieved navigation property links + content: + application/json: + schema: + title: Collection of links of Person + type: object + properties: + value: + type: array + items: + type: string default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: + x-ms-docs-operation-type: operation + post: tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Friends.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName + - People.Friends.Person + summary: Create new navigation property ref to DirectReports for People + operationId: People.Friends.CreateRefDirectReports parameters: - name: UserName in: path @@ -11549,33 +8525,25 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string + requestBody: + description: New navigation property ref value + content: + application/json: + schema: + type: object + additionalProperties: + type: object + required: true responses: - '200': - description: Success + '201': + description: Created navigation property link. content: application/json: schema: type: object - properties: - value: - type: boolean - default: false default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' + x-ms-docs-operation-type: operation '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource @@ -11869,246 +8837,8 @@ paths: get: tags: - Person.Employee - summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - UserName - - FirstName - - LastName - - MiddleName - - Gender - - Age - - Emails - - AddressInfo - - HomeAddress - - FavoriteFeature - - Features - - Friends - - BestFriend - - Trips - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - Friends - - BestFriend - - Trips - type: string - responses: - '200': - description: Result entities - content: - application/json: - schema: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' - default: - $ref: '#/components/responses/error' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Employee - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee.UpdatePersonLastName + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee parameters: - name: UserName in: path @@ -12117,33 +8847,55 @@ paths: schema: type: string x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string + uniqueItems: true + type: array + items: + enum: + - UserName + - FirstName + - LastName + - MiddleName + - Gender + - Age + - Emails + - AddressInfo + - HomeAddress + - FavoriteFeature + - Features + - Friends + - BestFriend + - Trips + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - Friends + - BestFriend + - Trips + type: string responses: '200': - description: Success + description: Result entities content: application/json: schema: - type: object - properties: - value: - type: boolean - default: false + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers': get: tags: @@ -12439,13 +9191,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName=''{userName}'')': get: tags: @@ -12484,13 +9229,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': post: tags: @@ -12538,13 +9276,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager': get: tags: @@ -12877,138 +9608,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': - get: - tags: - - People.Functions - summary: Invoke function GetFavoriteAirline - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFavoriteAirline - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - responses: - '200': - description: Success - content: - application/json: - schema: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})': - get: - tags: - - People.Functions - summary: Invoke function GetFriendsTrips - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetFriendsTrips - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: userName - in: path - description: 'Usage: userName={userName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFriendsTrips(userName={userName})' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip': - post: - tags: - - People.Actions - summary: Invoke action GetPeersForTrip - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.GetPeersForTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '200': - description: Success - content: - application/json: - schema: - title: Collection of Manager - type: object - properties: - value: - type: array - items: - anyOf: - - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - nullable: true - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetPeersForTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Hire': post: tags: @@ -13042,90 +9641,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': - post: - tags: - - People.Actions - summary: Invoke action ShareTrip - description: Details of the shared trip. - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.ShareTrip - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - requestBody: - description: Action parameters - content: - application/json: - schema: - type: object - properties: - userName: - type: string - tripId: - maximum: 2147483647 - minimum: -2147483648 - type: integer - format: int32 - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})': - get: - tags: - - People.Functions - summary: Invoke function UpdatePersonLastName - operationId: People.Person.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager.UpdatePersonLastName - parameters: - - name: UserName - in: path - description: 'key: UserName of Person' - required: true - schema: - type: string - x-ms-docs-key-type: Person - - name: lastName - in: path - description: 'Usage: lastName={lastName}' - required: true - schema: - type: string - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - properties: - value: - type: boolean - default: false - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip': post: tags: @@ -13162,13 +9677,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.ShareTrip' '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName=''{lastName}'')': get: tags: @@ -13203,13 +9711,6 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: function - x-ms-docs-grouped-path: - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' - - '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/Microsoft.OData.Service.Sample.TrippinInMemory.Models.UpdatePersonLastName(lastName={lastName})' '/People/{UserName}/Trips': get: tags: @@ -14606,43 +11107,43 @@ tags: - name: Me.Person x-ms-docs-toc-type: page - name: Person.Employee - - name: Me.Functions - x-ms-docs-toc-type: container - - name: Me.Actions - x-ms-docs-toc-type: container - name: Me.BestFriend.Person x-ms-docs-toc-type: page - name: Person.Manager - name: Me.Friends.Person x-ms-docs-toc-type: page + - name: Me.Functions + x-ms-docs-toc-type: container + - name: Me.Actions + x-ms-docs-toc-type: container - name: Me.Trip x-ms-docs-toc-type: page - name: Me.Trips.PlanItem x-ms-docs-toc-type: page - name: NewComePeople.Person x-ms-docs-toc-type: page - - name: NewComePeople.Functions - x-ms-docs-toc-type: container - - name: NewComePeople.Actions - x-ms-docs-toc-type: container - name: NewComePeople.BestFriend.Person x-ms-docs-toc-type: page - name: NewComePeople.Friends.Person x-ms-docs-toc-type: page + - name: NewComePeople.Functions + x-ms-docs-toc-type: container + - name: NewComePeople.Actions + x-ms-docs-toc-type: container - name: NewComePeople.Trip x-ms-docs-toc-type: page - name: NewComePeople.Trips.PlanItem x-ms-docs-toc-type: page - name: People.Person x-ms-docs-toc-type: page - - name: People.Functions - x-ms-docs-toc-type: container - - name: People.Actions - x-ms-docs-toc-type: container - name: People.BestFriend.Person x-ms-docs-toc-type: page - name: People.Friends.Person x-ms-docs-toc-type: page + - name: People.Functions + x-ms-docs-toc-type: container + - name: People.Actions + x-ms-docs-toc-type: container - name: People.Trip x-ms-docs-toc-type: page - name: People.Trips.PlanItem From fe923907790117380d0e53bd17a7363c8ee17c89 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 13:24:56 -0500 Subject: [PATCH 24/28] - fixes a bug where count or type cast operations would have duplicated Ids Signed-off-by: Vincent Biret --- .../Edm/ODataPath.cs | 8 ++ .../Edm/ODataSegment.cs | 13 ++ .../DollarCountGetOperationHandler.cs | 2 +- .../EdmOperationImportOperationHandler.cs | 5 +- .../Operation/EdmOperationOperationHandler.cs | 9 +- .../ODataTypeCastGetOperationHandler.cs | 3 +- .../PublicAPI.Unshipped.txt | 2 + .../ODataTypeCastGetOperationHandlerTests.cs | 12 +- .../Resources/Basic.OpenApi.V2.json | 8 +- .../Resources/Basic.OpenApi.V2.yaml | 8 +- .../Resources/Basic.OpenApi.json | 8 +- .../Resources/Basic.OpenApi.yaml | 8 +- .../Resources/Multiple.Schema.OpenApi.V2.json | 16 +-- .../Resources/Multiple.Schema.OpenApi.V2.yaml | 16 +-- .../Resources/Multiple.Schema.OpenApi.json | 16 +-- .../Resources/Multiple.Schema.OpenApi.yaml | 16 +-- .../Resources/TripService.OpenApi.V2.json | 122 +++++++++--------- .../Resources/TripService.OpenApi.V2.yaml | 122 +++++++++--------- .../Resources/TripService.OpenApi.json | 122 +++++++++--------- .../Resources/TripService.OpenApi.yaml | 122 +++++++++--------- 20 files changed, 328 insertions(+), 310 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs index 50be49ab..4694239f 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs @@ -335,5 +335,13 @@ private ODataPathKind CalcPathType() return ODataPathKind.Unknown; } + + /// + /// Profides a suffix for the operation id based on the operation path. + /// + /// The settings. + ///The suffix. + public string GetPathHash(OpenApiConvertSettings settings) => + LastSegment.GetPathHash(settings, this); } } \ No newline at end of file diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataSegment.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataSegment.cs index aa4364ef..d18c78a8 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataSegment.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataSegment.cs @@ -5,8 +5,10 @@ using System; using System.Collections.Generic; +using System.Linq; using Microsoft.OData.Edm; using Microsoft.OpenApi.Models; +using Microsoft.OpenApi.OData.Common; namespace Microsoft.OpenApi.OData.Edm { @@ -100,6 +102,17 @@ public string GetPathItemName(OpenApiConvertSettings settings) { return GetPathItemName(settings, new HashSet()); } + /// + /// Profides a suffix for the operation id based on the operation path. + /// + /// Path to use to deduplicate. + /// The settings. + ///The suffix. + public string GetPathHash(OpenApiConvertSettings settings, ODataPath path = default) + { + var suffix = string.Join("/", path?.Segments.Select(x => x.Identifier).Distinct() ?? Enumerable.Empty()); + return (GetPathItemName(settings) + suffix).GetHashSHA256().Substring(0, 4); + } /// /// Gets the path item name for this segment. diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/DollarCountGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/DollarCountGetOperationHandler.cs index 9cfcb749..f5d8de81 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/DollarCountGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/DollarCountGetOperationHandler.cs @@ -46,7 +46,7 @@ protected override void SetBasicInfo(OpenApiOperation operation) // OperationId if (Context.Settings.EnableOperationId) { - operation.OperationId = $"Get.Count.{LastSecondSegment.Identifier}"; + operation.OperationId = $"Get.Count.{LastSecondSegment.Identifier}-{Path.GetPathHash(Context.Settings)}"; } base.SetBasicInfo(operation); diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs index 8125f8ad..36c3b141 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationImportOperationHandler.cs @@ -55,12 +55,9 @@ protected override void SetBasicInfo(OpenApiOperation operation) } else { - ODataOperationImportSegment operationImportSegment = Path.LastSegment as ODataOperationImportSegment; - string pathItemName = operationImportSegment.GetPathItemName(Context.Settings, new HashSet()); if (Context.Model.IsOperationImportOverload(EdmOperationImport)) { - string hash = pathItemName.GetHashSHA256(); - operation.OperationId = "FunctionImport." + EdmOperationImport.Name + "-" + hash.Substring(0, 4); + operation.OperationId = "FunctionImport." + EdmOperationImport.Name + "-" + Path.LastSegment.GetPathHash(Context.Settings); } else { diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs index 4b2c64dc..55d7e464 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs @@ -93,13 +93,10 @@ protected override void SetBasicInfo(OpenApiOperation operation) } else { - ODataOperationSegment operationSegment = Path.LastSegment as ODataOperationSegment; - string pathItemName = operationSegment.GetPathItemName(Context.Settings, new HashSet()); - - if (Context.Model.IsOperationOverload(operationSegment.Operation)) + if (Path.LastSegment is ODataOperationSegment operationSegment && + Context.Model.IsOperationOverload(operationSegment.Operation)) { - string hash = pathItemName.GetHashSHA256(); - operation.OperationId = operationId + "-" + hash.Substring(0, 4); + operation.OperationId = operationId + "-" + Path.LastSegment.GetPathHash(Context.Settings); } else { diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index 8b359872..d01957e6 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -151,7 +151,8 @@ protected override void SetBasicInfo(OpenApiOperation operation) // OperationId if (Context.Settings.EnableOperationId) { - operation.OperationId = $"Get.{parentEntityType.ShortQualifiedName()}.As.{targetEntityType.ShortQualifiedName()}"; + var operationItem = IsSingleElement ? ".Item" : ".Items"; + operation.OperationId = $"Get.{parentEntityType.ShortQualifiedName()}{operationItem}.As.{targetEntityType.ShortQualifiedName()}-{Path.GetPathHash(Context.Settings)}"; } base.SetBasicInfo(operation); diff --git a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt index 9585ab4d..5771ae27 100644 --- a/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt +++ b/src/Microsoft.OpenApi.OData.Reader/PublicAPI.Unshipped.txt @@ -36,6 +36,7 @@ Microsoft.OpenApi.OData.Edm.ODataOperationSegment.Operation.get -> Microsoft.ODa Microsoft.OpenApi.OData.Edm.ODataOperationSegment.ParameterMappings.get -> System.Collections.Generic.IDictionary Microsoft.OpenApi.OData.Edm.ODataPath Microsoft.OpenApi.OData.Edm.ODataPath.Clone() -> Microsoft.OpenApi.OData.Edm.ODataPath +Microsoft.OpenApi.OData.Edm.ODataPath.GetPathHash(Microsoft.OpenApi.OData.OpenApiConvertSettings settings) -> string Microsoft.OpenApi.OData.Edm.ODataPath.CompareTo(Microsoft.OpenApi.OData.Edm.ODataPath other) -> int Microsoft.OpenApi.OData.Edm.ODataPath.Count.get -> int Microsoft.OpenApi.OData.Edm.ODataPath.FirstSegment.get -> Microsoft.OpenApi.OData.Edm.ODataSegment @@ -68,6 +69,7 @@ Microsoft.OpenApi.OData.Edm.ODataPathProvider.ODataPathProvider() -> void Microsoft.OpenApi.OData.Edm.ODataRefSegment Microsoft.OpenApi.OData.Edm.ODataSegment Microsoft.OpenApi.OData.Edm.ODataSegment.GetPathItemName(Microsoft.OpenApi.OData.OpenApiConvertSettings settings) -> string +Microsoft.OpenApi.OData.Edm.ODataSegment.GetPathHash(Microsoft.OpenApi.OData.OpenApiConvertSettings settings, Microsoft.OpenApi.OData.Edm.ODataPath path) -> string Microsoft.OpenApi.OData.Edm.ODataSegment.ODataSegment() -> void Microsoft.OpenApi.OData.Edm.ODataSegmentKind Microsoft.OpenApi.OData.Edm.ODataSegmentKind.DollarCount = 10 -> Microsoft.OpenApi.OData.Edm.ODataSegmentKind diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index e24497a3..627b8f3e 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -65,7 +65,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionN if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); } else { @@ -123,7 +123,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionN if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); } else { @@ -176,7 +176,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(b if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a", operation.OperationId); } else { @@ -231,7 +231,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySetId if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b", operation.OperationId); } else { @@ -288,7 +288,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleNavig if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188", operation.OperationId); } else { @@ -341,7 +341,7 @@ public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleton(b if (enableOperationId) { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.OperationId); + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18", operation.OperationId); } else { diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.json index 46db39d1..1cd5221b 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.json @@ -1,4 +1,4 @@ -{ +{ "swagger": "2.0", "info": { "title": "OData Service for namespace DefaultNs", @@ -263,7 +263,7 @@ "/City/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.City", + "operationId": "Get.Count.City-8728", "produces": [ "text/plain" ], @@ -533,7 +533,7 @@ "/CountryOrRegion/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.CountryOrRegion", + "operationId": "Get.Count.CountryOrRegion-daf5", "produces": [ "text/plain" ], @@ -900,7 +900,7 @@ "/People/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "operationId": "Get.Count.People-dd8d", "produces": [ "text/plain" ], diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.yaml index ca55821c..d8114016 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.V2.yaml @@ -1,4 +1,4 @@ -swagger: '2.0' +swagger: '2.0' info: title: OData Service for namespace DefaultNs description: This OData service is located at http://localhost @@ -173,7 +173,7 @@ paths: /City/$count: get: summary: Get the number of the resource - operationId: Get.Count.City + operationId: Get.Count.City-8728 produces: - text/plain responses: @@ -349,7 +349,7 @@ paths: /CountryOrRegion/$count: get: summary: Get the number of the resource - operationId: Get.Count.CountryOrRegion + operationId: Get.Count.CountryOrRegion-daf5 produces: - text/plain responses: @@ -595,7 +595,7 @@ paths: /People/$count: get: summary: Get the number of the resource - operationId: Get.Count.People + operationId: Get.Count.People-dd8d produces: - text/plain responses: diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.json index 7c35933e..28ce42e3 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.json @@ -1,4 +1,4 @@ -{ +{ "openapi": "3.0.1", "info": { "title": "OData Service for namespace DefaultNs", @@ -296,7 +296,7 @@ "/City/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.City", + "operationId": "Get.Count.City-8728", "responses": { "200": { "description": "The count of the resource", @@ -599,7 +599,7 @@ "/CountryOrRegion/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.CountryOrRegion", + "operationId": "Get.Count.CountryOrRegion-daf5", "responses": { "200": { "description": "The count of the resource", @@ -1007,7 +1007,7 @@ "/People/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "operationId": "Get.Count.People-dd8d", "responses": { "200": { "description": "The count of the resource", diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.yaml index 905302eb..84084c91 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Basic.OpenApi.yaml @@ -1,4 +1,4 @@ -openapi: 3.0.1 +openapi: 3.0.1 info: title: OData Service for namespace DefaultNs description: This OData service is located at http://localhost @@ -193,7 +193,7 @@ paths: /City/$count: get: summary: Get the number of the resource - operationId: Get.Count.City + operationId: Get.Count.City-8728 responses: '200': description: The count of the resource @@ -390,7 +390,7 @@ paths: /CountryOrRegion/$count: get: summary: Get the number of the resource - operationId: Get.Count.CountryOrRegion + operationId: Get.Count.CountryOrRegion-daf5 responses: '200': description: The count of the resource @@ -663,7 +663,7 @@ paths: /People/$count: get: summary: Get the number of the resource - operationId: Get.Count.People + operationId: Get.Count.People-dd8d responses: '200': description: The count of the resource diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.json index 2c013424..9acb768a 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.json @@ -292,7 +292,7 @@ "/Categories/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Categories", + "operationId": "Get.Count.Categories-2f72", "produces": [ "text/plain" ], @@ -850,7 +850,7 @@ "/Documents({Id})/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-f834", "produces": [ "text/plain" ], @@ -1039,7 +1039,7 @@ "/Documents/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Documents", + "operationId": "Get.Count.Documents-f555", "produces": [ "text/plain" ], @@ -1559,7 +1559,7 @@ "/Libraries({Id})/Documents/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Documents", + "operationId": "Get.Count.Documents-34c7", "produces": [ "text/plain" ], @@ -1734,7 +1734,7 @@ "/Libraries/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Libraries", + "operationId": "Get.Count.Libraries-e13e", "produces": [ "text/plain" ], @@ -2313,7 +2313,7 @@ "/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-c6a5", "produces": [ "text/plain" ], @@ -2871,7 +2871,7 @@ "/Tasks({Id})/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-9297", "produces": [ "text/plain" ], @@ -3060,7 +3060,7 @@ "/Tasks/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Tasks", + "operationId": "Get.Count.Tasks-2961", "produces": [ "text/plain" ], diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.yaml index 2eaef7d7..67077426 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.V2.yaml @@ -202,7 +202,7 @@ paths: /Categories/$count: get: summary: Get the number of the resource - operationId: Get.Count.Categories + operationId: Get.Count.Categories-2f72 produces: - text/plain responses: @@ -604,7 +604,7 @@ paths: '/Documents({Id})/Revisions/$count': get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-f834 produces: - text/plain parameters: @@ -740,7 +740,7 @@ paths: /Documents/$count: get: summary: Get the number of the resource - operationId: Get.Count.Documents + operationId: Get.Count.Documents-f555 produces: - text/plain responses: @@ -1115,7 +1115,7 @@ paths: '/Libraries({Id})/Documents/$count': get: summary: Get the number of the resource - operationId: Get.Count.Documents + operationId: Get.Count.Documents-34c7 produces: - text/plain parameters: @@ -1237,7 +1237,7 @@ paths: /Libraries/$count: get: summary: Get the number of the resource - operationId: Get.Count.Libraries + operationId: Get.Count.Libraries-e13e produces: - text/plain responses: @@ -1669,7 +1669,7 @@ paths: /Revisions/$count: get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-c6a5 produces: - text/plain responses: @@ -2071,7 +2071,7 @@ paths: '/Tasks({Id})/Revisions/$count': get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-9297 produces: - text/plain parameters: @@ -2207,7 +2207,7 @@ paths: /Tasks/$count: get: summary: Get the number of the resource - operationId: Get.Count.Tasks + operationId: Get.Count.Tasks-2961 produces: - text/plain responses: diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.json index 6d77ca67..78e74f51 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.json @@ -325,7 +325,7 @@ "/Categories/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Categories", + "operationId": "Get.Count.Categories-2f72", "responses": { "200": { "description": "The count of the resource", @@ -953,7 +953,7 @@ "/Documents({Id})/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-f834", "parameters": [ { "name": "Id", @@ -1155,7 +1155,7 @@ "/Documents/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Documents", + "operationId": "Get.Count.Documents-f555", "responses": { "200": { "description": "The count of the resource", @@ -1742,7 +1742,7 @@ "/Libraries({Id})/Documents/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Documents", + "operationId": "Get.Count.Documents-34c7", "parameters": [ { "name": "Id", @@ -1930,7 +1930,7 @@ "/Libraries/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Libraries", + "operationId": "Get.Count.Libraries-e13e", "responses": { "200": { "description": "The count of the resource", @@ -2635,7 +2635,7 @@ "/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-c6a5", "responses": { "200": { "description": "The count of the resource", @@ -3263,7 +3263,7 @@ "/Tasks({Id})/Revisions/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Revisions", + "operationId": "Get.Count.Revisions-9297", "parameters": [ { "name": "Id", @@ -3465,7 +3465,7 @@ "/Tasks/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Tasks", + "operationId": "Get.Count.Tasks-2961", "responses": { "200": { "description": "The count of the resource", diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.yaml index 6e4807a2..af77765e 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/Multiple.Schema.OpenApi.yaml @@ -222,7 +222,7 @@ paths: /Categories/$count: get: summary: Get the number of the resource - operationId: Get.Count.Categories + operationId: Get.Count.Categories-2f72 responses: '200': description: The count of the resource @@ -668,7 +668,7 @@ paths: '/Documents({Id})/Revisions/$count': get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-f834 parameters: - name: Id in: path @@ -810,7 +810,7 @@ paths: /Documents/$count: get: summary: Get the number of the resource - operationId: Get.Count.Documents + operationId: Get.Count.Documents-f555 responses: '200': description: The count of the resource @@ -1228,7 +1228,7 @@ paths: '/Libraries({Id})/Documents/$count': get: summary: Get the number of the resource - operationId: Get.Count.Documents + operationId: Get.Count.Documents-34c7 parameters: - name: Id in: path @@ -1356,7 +1356,7 @@ paths: /Libraries/$count: get: summary: Get the number of the resource - operationId: Get.Count.Libraries + operationId: Get.Count.Libraries-e13e responses: '200': description: The count of the resource @@ -1868,7 +1868,7 @@ paths: /Revisions/$count: get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-c6a5 responses: '200': description: The count of the resource @@ -2314,7 +2314,7 @@ paths: '/Tasks({Id})/Revisions/$count': get: summary: Get the number of the resource - operationId: Get.Count.Revisions + operationId: Get.Count.Revisions-9297 parameters: - name: Id in: path @@ -2456,7 +2456,7 @@ paths: /Tasks/$count: get: summary: Get the number of the resource - operationId: Get.Count.Tasks + operationId: Get.Count.Tasks-2961 responses: '200': description: The count of the resource 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 6da1e87f..94d68464 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 @@ -268,7 +268,7 @@ "/Airlines/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Airlines", + "operationId": "Get.Count.Airlines-27a7", "produces": [ "text/plain" ], @@ -550,7 +550,7 @@ "/Airports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Airports", + "operationId": "Get.Count.Airports-60cc", "produces": [ "text/plain" ], @@ -883,7 +883,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-dcf6", "produces": [ "application/json" ], @@ -1112,7 +1112,7 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-e850", "produces": [ "text/plain" ], @@ -1257,7 +1257,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-09a9", "produces": [ "application/json" ], @@ -1486,7 +1486,7 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-f41f", "produces": [ "text/plain" ], @@ -1794,7 +1794,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-3dc7", "produces": [ "application/json" ], @@ -2047,7 +2047,7 @@ "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-e3cf", "produces": [ "text/plain" ], @@ -2218,7 +2218,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-ddec", "produces": [ "application/json" ], @@ -2471,7 +2471,7 @@ "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-c1d4", "produces": [ "text/plain" ], @@ -2639,7 +2639,7 @@ "/Me/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-182b", "produces": [ "text/plain" ], @@ -2784,7 +2784,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-f4a5", "produces": [ "application/json" ], @@ -2846,7 +2846,7 @@ "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-884b", "produces": [ "text/plain" ], @@ -2869,7 +2869,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-98ae", "produces": [ "application/json" ], @@ -2931,7 +2931,7 @@ "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-9376", "produces": [ "text/plain" ], @@ -2954,7 +2954,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18", "produces": [ "application/json" ], @@ -3183,7 +3183,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-9fc2", "produces": [ "text/plain" ], @@ -3452,7 +3452,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-16dc", "produces": [ "application/json" ], @@ -3681,7 +3681,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-8b92", "produces": [ "text/plain" ], @@ -4451,7 +4451,7 @@ "/Me/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-c250", "produces": [ "text/plain" ], @@ -4616,7 +4616,7 @@ "/Me/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-7b69", "produces": [ "text/plain" ], @@ -5126,7 +5126,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7b75", "produces": [ "application/json" ], @@ -5378,7 +5378,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-1269", "produces": [ "text/plain" ], @@ -5549,7 +5549,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-61ce", "produces": [ "application/json" ], @@ -5801,7 +5801,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-c923", "produces": [ "text/plain" ], @@ -6151,7 +6151,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969", "produces": [ "application/json" ], @@ -6427,7 +6427,7 @@ "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-128d", "produces": [ "text/plain" ], @@ -6622,7 +6622,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f", "produces": [ "application/json" ], @@ -6898,7 +6898,7 @@ "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-08c7", "produces": [ "text/plain" ], @@ -7090,7 +7090,7 @@ "/NewComePeople/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-2ec1", "produces": [ "text/plain" ], @@ -7261,7 +7261,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969", "produces": [ "application/json" ], @@ -7331,7 +7331,7 @@ "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-4069", "produces": [ "text/plain" ], @@ -7364,7 +7364,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f", "produces": [ "application/json" ], @@ -7434,7 +7434,7 @@ "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d1d3", "produces": [ "text/plain" ], @@ -8330,7 +8330,7 @@ "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-841f", "produces": [ "text/plain" ], @@ -8519,7 +8519,7 @@ "/NewComePeople/{UserName}/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-d155", "produces": [ "text/plain" ], @@ -8549,7 +8549,7 @@ "/NewComePeople/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", + "operationId": "Get.Count.NewComePeople-55d5", "produces": [ "text/plain" ], @@ -9059,7 +9059,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188", "produces": [ "application/json" ], @@ -9312,7 +9312,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-5860", "produces": [ "text/plain" ], @@ -9483,7 +9483,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-5f08", "produces": [ "application/json" ], @@ -9736,7 +9736,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-cddc", "produces": [ "text/plain" ], @@ -10086,7 +10086,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", "produces": [ "application/json" ], @@ -10363,7 +10363,7 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-ff21", "produces": [ "text/plain" ], @@ -10558,7 +10558,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb", "produces": [ "application/json" ], @@ -10835,7 +10835,7 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-3b03", "produces": [ "text/plain" ], @@ -11027,7 +11027,7 @@ "/People/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-92b9", "produces": [ "text/plain" ], @@ -11198,7 +11198,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", "produces": [ "application/json" ], @@ -11268,7 +11268,7 @@ "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-a96c", "produces": [ "text/plain" ], @@ -11301,7 +11301,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb", "produces": [ "application/json" ], @@ -11371,7 +11371,7 @@ "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-26b3", "produces": [ "text/plain" ], @@ -11404,7 +11404,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b", "produces": [ "application/json" ], @@ -11657,7 +11657,7 @@ "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-44d2", "produces": [ "text/plain" ], @@ -11978,7 +11978,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d051", "produces": [ "application/json" ], @@ -12231,7 +12231,7 @@ "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-0ec4", "produces": [ "text/plain" ], @@ -13115,7 +13115,7 @@ "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-9a27", "produces": [ "text/plain" ], @@ -13304,7 +13304,7 @@ "/People/{UserName}/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-e877", "produces": [ "text/plain" ], @@ -13334,7 +13334,7 @@ "/People/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "operationId": "Get.Count.People-dd8d", "produces": [ "text/plain" ], @@ -13357,7 +13357,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a", "produces": [ "application/json" ], @@ -13419,7 +13419,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-ef29", "produces": [ "text/plain" ], @@ -13442,7 +13442,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-3e14", "produces": [ "application/json" ], @@ -13504,7 +13504,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-2d48", "produces": [ "text/plain" ], 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 34218279..de30a4e0 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 @@ -178,7 +178,7 @@ paths: /Airlines/$count: get: summary: Get the number of the resource - operationId: Get.Count.Airlines + operationId: Get.Count.Airlines-27a7 produces: - text/plain responses: @@ -366,7 +366,7 @@ paths: /Airports/$count: get: summary: Get the number of the resource - operationId: Get.Count.Airports + operationId: Get.Count.Airports-60cc produces: - text/plain responses: @@ -599,7 +599,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-dcf6 produces: - application/json parameters: @@ -764,7 +764,7 @@ paths: /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-e850 produces: - text/plain responses: @@ -862,7 +862,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-09a9 produces: - application/json parameters: @@ -1027,7 +1027,7 @@ paths: /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-f41f produces: - text/plain responses: @@ -1241,7 +1241,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-3dc7 produces: - application/json parameters: @@ -1424,7 +1424,7 @@ paths: '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-e3cf produces: - text/plain parameters: @@ -1541,7 +1541,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-ddec produces: - application/json parameters: @@ -1724,7 +1724,7 @@ paths: '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-c1d4 produces: - text/plain parameters: @@ -1839,7 +1839,7 @@ paths: /Me/Friends/$count: get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-182b produces: - text/plain responses: @@ -1937,7 +1937,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-f4a5 produces: - application/json parameters: @@ -1983,7 +1983,7 @@ paths: /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-884b produces: - text/plain responses: @@ -1998,7 +1998,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-98ae produces: - application/json parameters: @@ -2044,7 +2044,7 @@ paths: /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-9376 produces: - text/plain responses: @@ -2059,7 +2059,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18 produces: - application/json parameters: @@ -2224,7 +2224,7 @@ paths: /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-9fc2 produces: - text/plain responses: @@ -2405,7 +2405,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-16dc produces: - application/json parameters: @@ -2570,7 +2570,7 @@ paths: /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-8b92 produces: - text/plain responses: @@ -3102,7 +3102,7 @@ paths: '/Me/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-c250 produces: - text/plain parameters: @@ -3214,7 +3214,7 @@ paths: /Me/Trips/$count: get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-7b69 produces: - text/plain responses: @@ -3576,7 +3576,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7b75 produces: - application/json parameters: @@ -3758,7 +3758,7 @@ paths: '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-1269 produces: - text/plain parameters: @@ -3875,7 +3875,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-61ce produces: - application/json parameters: @@ -4057,7 +4057,7 @@ paths: '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-c923 produces: - text/plain parameters: @@ -4302,7 +4302,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969 produces: - application/json parameters: @@ -4502,7 +4502,7 @@ paths: '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-128d produces: - text/plain parameters: @@ -4637,7 +4637,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f produces: - application/json parameters: @@ -4837,7 +4837,7 @@ paths: '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-08c7 produces: - text/plain parameters: @@ -4970,7 +4970,7 @@ paths: '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-2ec1 produces: - text/plain parameters: @@ -5087,7 +5087,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969 produces: - application/json parameters: @@ -5139,7 +5139,7 @@ paths: '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-4069 produces: - text/plain parameters: @@ -5161,7 +5161,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f produces: - application/json parameters: @@ -5213,7 +5213,7 @@ paths: '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d1d3 produces: - text/plain parameters: @@ -5837,7 +5837,7 @@ paths: '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-841f produces: - text/plain parameters: @@ -5967,7 +5967,7 @@ paths: '/NewComePeople/{UserName}/Trips/$count': get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-d155 produces: - text/plain parameters: @@ -5987,7 +5987,7 @@ paths: /NewComePeople/$count: get: summary: Get the number of the resource - operationId: Get.Count.NewComePeople + operationId: Get.Count.NewComePeople-55d5 produces: - text/plain responses: @@ -6349,7 +6349,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188 produces: - application/json parameters: @@ -6532,7 +6532,7 @@ paths: '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-5860 produces: - text/plain parameters: @@ -6649,7 +6649,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-5f08 produces: - application/json parameters: @@ -6832,7 +6832,7 @@ paths: '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-cddc produces: - text/plain parameters: @@ -7077,7 +7077,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf produces: - application/json parameters: @@ -7278,7 +7278,7 @@ paths: '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-ff21 produces: - text/plain parameters: @@ -7413,7 +7413,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb produces: - application/json parameters: @@ -7614,7 +7614,7 @@ paths: '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-3b03 produces: - text/plain parameters: @@ -7747,7 +7747,7 @@ paths: '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-92b9 produces: - text/plain parameters: @@ -7864,7 +7864,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf produces: - application/json parameters: @@ -7916,7 +7916,7 @@ paths: '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-a96c produces: - text/plain parameters: @@ -7938,7 +7938,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb produces: - application/json parameters: @@ -7990,7 +7990,7 @@ paths: '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-26b3 produces: - text/plain parameters: @@ -8012,7 +8012,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b produces: - application/json parameters: @@ -8195,7 +8195,7 @@ paths: '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-44d2 produces: - text/plain parameters: @@ -8414,7 +8414,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d051 produces: - application/json parameters: @@ -8597,7 +8597,7 @@ paths: '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-0ec4 produces: - text/plain parameters: @@ -9214,7 +9214,7 @@ paths: '/People/{UserName}/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-9a27 produces: - text/plain parameters: @@ -9344,7 +9344,7 @@ paths: '/People/{UserName}/Trips/$count': get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-e877 produces: - text/plain parameters: @@ -9364,7 +9364,7 @@ paths: /People/$count: get: summary: Get the number of the resource - operationId: Get.Count.People + operationId: Get.Count.People-dd8d produces: - text/plain responses: @@ -9379,7 +9379,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a produces: - application/json parameters: @@ -9425,7 +9425,7 @@ paths: /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-ef29 produces: - text/plain responses: @@ -9440,7 +9440,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-3e14 produces: - application/json parameters: @@ -9486,7 +9486,7 @@ paths: /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-2d48 produces: - text/plain responses: 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 2ed3fa2a..ac0d27a0 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -300,7 +300,7 @@ "/Airlines/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Airlines", + "operationId": "Get.Count.Airlines-27a7", "responses": { "200": { "description": "The count of the resource", @@ -615,7 +615,7 @@ "/Airports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Airports", + "operationId": "Get.Count.Airports-60cc", "responses": { "200": { "description": "The count of the resource", @@ -1014,7 +1014,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-dcf6", "parameters": [ { "name": "$select", @@ -1276,7 +1276,7 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-e850", "responses": { "200": { "description": "The count of the resource", @@ -1426,7 +1426,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-09a9", "parameters": [ { "name": "$select", @@ -1688,7 +1688,7 @@ "/Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-f41f", "responses": { "200": { "description": "The count of the resource", @@ -2023,7 +2023,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-3dc7", "parameters": [ { "name": "UserName", @@ -2315,7 +2315,7 @@ "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-e3cf", "parameters": [ { "name": "UserName", @@ -2499,7 +2499,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-ddec", "parameters": [ { "name": "UserName", @@ -2791,7 +2791,7 @@ "/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-c1d4", "parameters": [ { "name": "UserName", @@ -2972,7 +2972,7 @@ "/Me/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-182b", "responses": { "200": { "description": "The count of the resource", @@ -3122,7 +3122,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-f4a5", "parameters": [ { "name": "$select", @@ -3195,7 +3195,7 @@ "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-884b", "responses": { "200": { "description": "The count of the resource", @@ -3219,7 +3219,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-98ae", "parameters": [ { "name": "$select", @@ -3292,7 +3292,7 @@ "/Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-9376", "responses": { "200": { "description": "The count of the resource", @@ -3316,7 +3316,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18", "parameters": [ { "name": "$select", @@ -3578,7 +3578,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-9fc2", "responses": { "200": { "description": "The count of the resource", @@ -3869,7 +3869,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-16dc", "parameters": [ { "name": "$select", @@ -4131,7 +4131,7 @@ "/Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-8b92", "responses": { "200": { "description": "The count of the resource", @@ -4974,7 +4974,7 @@ "/Me/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-c250", "parameters": [ { "name": "TripId", @@ -5152,7 +5152,7 @@ "/Me/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-7b69", "responses": { "200": { "description": "The count of the resource", @@ -5716,7 +5716,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7b75", "parameters": [ { "name": "UserName", @@ -6007,7 +6007,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-1269", "parameters": [ { "name": "UserName", @@ -6191,7 +6191,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-61ce", "parameters": [ { "name": "UserName", @@ -6482,7 +6482,7 @@ "/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-c923", "parameters": [ { "name": "UserName", @@ -6871,7 +6871,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969", "parameters": [ { "name": "UserName", @@ -7192,7 +7192,7 @@ "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-128d", "parameters": [ { "name": "UserName", @@ -7406,7 +7406,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f", "parameters": [ { "name": "UserName", @@ -7727,7 +7727,7 @@ "/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-08c7", "parameters": [ { "name": "UserName", @@ -7938,7 +7938,7 @@ "/NewComePeople/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-2ec1", "parameters": [ { "name": "UserName", @@ -8122,7 +8122,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969", "parameters": [ { "name": "UserName", @@ -8205,7 +8205,7 @@ "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-4069", "parameters": [ { "name": "UserName", @@ -8241,7 +8241,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f", "parameters": [ { "name": "UserName", @@ -8324,7 +8324,7 @@ "/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d1d3", "parameters": [ { "name": "UserName", @@ -9344,7 +9344,7 @@ "/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-841f", "parameters": [ { "name": "UserName", @@ -9552,7 +9552,7 @@ "/NewComePeople/{UserName}/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-d155", "parameters": [ { "name": "UserName", @@ -9585,7 +9585,7 @@ "/NewComePeople/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.NewComePeople", + "operationId": "Get.Count.NewComePeople-55d5", "responses": { "200": { "description": "The count of the resource", @@ -10149,7 +10149,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188", "parameters": [ { "name": "UserName", @@ -10441,7 +10441,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-5860", "parameters": [ { "name": "UserName", @@ -10625,7 +10625,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-5f08", "parameters": [ { "name": "UserName", @@ -10917,7 +10917,7 @@ "/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-cddc", "parameters": [ { "name": "UserName", @@ -11306,7 +11306,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", "parameters": [ { "name": "UserName", @@ -11628,7 +11628,7 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-ff21", "parameters": [ { "name": "UserName", @@ -11842,7 +11842,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb", "parameters": [ { "name": "UserName", @@ -12164,7 +12164,7 @@ "/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-3b03", "parameters": [ { "name": "UserName", @@ -12375,7 +12375,7 @@ "/People/{UserName}/Friends/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Friends", + "operationId": "Get.Count.Friends-92b9", "parameters": [ { "name": "UserName", @@ -12559,7 +12559,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", "parameters": [ { "name": "UserName", @@ -12642,7 +12642,7 @@ "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-a96c", "parameters": [ { "name": "UserName", @@ -12678,7 +12678,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb", "parameters": [ { "name": "UserName", @@ -12761,7 +12761,7 @@ "/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-26b3", "parameters": [ { "name": "UserName", @@ -12797,7 +12797,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b", "parameters": [ { "name": "UserName", @@ -13089,7 +13089,7 @@ "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Peers", + "operationId": "Get.Count.Peers-44d2", "parameters": [ { "name": "UserName", @@ -13448,7 +13448,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d051", "parameters": [ { "name": "UserName", @@ -13740,7 +13740,7 @@ "/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.DirectReports", + "operationId": "Get.Count.DirectReports-0ec4", "parameters": [ { "name": "UserName", @@ -14733,7 +14733,7 @@ "/People/{UserName}/Trips/{TripId}/PlanItems/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.PlanItems", + "operationId": "Get.Count.PlanItems-9a27", "parameters": [ { "name": "UserName", @@ -14941,7 +14941,7 @@ "/People/{UserName}/Trips/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Trips", + "operationId": "Get.Count.Trips-e877", "parameters": [ { "name": "UserName", @@ -14974,7 +14974,7 @@ "/People/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.People", + "operationId": "Get.Count.People-dd8d", "responses": { "200": { "description": "The count of the resource", @@ -14998,7 +14998,7 @@ "Person.Employee" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a", "parameters": [ { "name": "$select", @@ -15071,7 +15071,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-ef29", "responses": { "200": { "description": "The count of the resource", @@ -15095,7 +15095,7 @@ "Person.Manager" ], "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", - "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-3e14", "parameters": [ { "name": "$select", @@ -15168,7 +15168,7 @@ "/People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count": { "get": { "summary": "Get the number of the resource", - "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", + "operationId": "Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-2d48", "responses": { "200": { "description": "The count of the resource", 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 e3fd745b..43ba7022 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -197,7 +197,7 @@ paths: /Airlines/$count: get: summary: Get the number of the resource - operationId: Get.Count.Airlines + operationId: Get.Count.Airlines-27a7 responses: '200': description: The count of the resource @@ -406,7 +406,7 @@ paths: /Airports/$count: get: summary: Get the number of the resource - operationId: Get.Count.Airports + operationId: Get.Count.Airports-60cc responses: '200': description: The count of the resource @@ -672,7 +672,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-dcf6 parameters: - name: $select in: query @@ -860,7 +860,7 @@ paths: /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-e850 responses: '200': description: The count of the resource @@ -960,7 +960,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-09a9 parameters: - name: $select in: query @@ -1148,7 +1148,7 @@ paths: /Me/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-f41f responses: '200': description: The count of the resource @@ -1379,7 +1379,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-3dc7 parameters: - name: UserName in: path @@ -1588,7 +1588,7 @@ paths: '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-e3cf parameters: - name: UserName in: path @@ -1711,7 +1711,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-ddec parameters: - name: UserName in: path @@ -1920,7 +1920,7 @@ paths: '/Me/Friends/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-c1d4 parameters: - name: UserName in: path @@ -2041,7 +2041,7 @@ paths: /Me/Friends/$count: get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-182b responses: '200': description: The count of the resource @@ -2141,7 +2141,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-f4a5 parameters: - name: $select in: query @@ -2195,7 +2195,7 @@ paths: /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-884b responses: '200': description: The count of the resource @@ -2210,7 +2210,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-98ae parameters: - name: $select in: query @@ -2264,7 +2264,7 @@ paths: /Me/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-9376 responses: '200': description: The count of the resource @@ -2279,7 +2279,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18 parameters: - name: $select in: query @@ -2467,7 +2467,7 @@ paths: /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count: get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-9fc2 responses: '200': description: The count of the resource @@ -2655,7 +2655,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-16dc parameters: - name: $select in: query @@ -2843,7 +2843,7 @@ paths: /Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count: get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-8b92 responses: '200': description: The count of the resource @@ -3417,7 +3417,7 @@ paths: '/Me/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-c250 parameters: - name: TripId in: path @@ -3535,7 +3535,7 @@ paths: /Me/Trips/$count: get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-7b69 responses: '200': description: The count of the resource @@ -3930,7 +3930,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7b75 parameters: - name: UserName in: path @@ -4138,7 +4138,7 @@ paths: '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-1269 parameters: - name: UserName in: path @@ -4261,7 +4261,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-61ce parameters: - name: UserName in: path @@ -4469,7 +4469,7 @@ paths: '/NewComePeople/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-c923 parameters: - name: UserName in: path @@ -4737,7 +4737,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969 parameters: - name: UserName in: path @@ -4966,7 +4966,7 @@ paths: '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-128d parameters: - name: UserName in: path @@ -5110,7 +5110,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f parameters: - name: UserName in: path @@ -5339,7 +5339,7 @@ paths: '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-08c7 parameters: - name: UserName in: path @@ -5481,7 +5481,7 @@ paths: '/NewComePeople/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-2ec1 parameters: - name: UserName in: path @@ -5604,7 +5604,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-2969 parameters: - name: UserName in: path @@ -5665,7 +5665,7 @@ paths: '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-4069 parameters: - name: UserName in: path @@ -5688,7 +5688,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-708f parameters: - name: UserName in: path @@ -5749,7 +5749,7 @@ paths: '/NewComePeople/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d1d3 parameters: - name: UserName in: path @@ -6437,7 +6437,7 @@ paths: '/NewComePeople/{UserName}/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-841f parameters: - name: UserName in: path @@ -6576,7 +6576,7 @@ paths: '/NewComePeople/{UserName}/Trips/$count': get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-d155 parameters: - name: UserName in: path @@ -6597,7 +6597,7 @@ paths: /NewComePeople/$count: get: summary: Get the number of the resource - operationId: Get.Count.NewComePeople + operationId: Get.Count.NewComePeople-55d5 responses: '200': description: The count of the resource @@ -6992,7 +6992,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188 parameters: - name: UserName in: path @@ -7201,7 +7201,7 @@ paths: '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-5860 parameters: - name: UserName in: path @@ -7324,7 +7324,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-5f08 parameters: - name: UserName in: path @@ -7533,7 +7533,7 @@ paths: '/People/{UserName}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-cddc parameters: - name: UserName in: path @@ -7801,7 +7801,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf parameters: - name: UserName in: path @@ -8031,7 +8031,7 @@ paths: '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-ff21 parameters: - name: UserName in: path @@ -8175,7 +8175,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb parameters: - name: UserName in: path @@ -8405,7 +8405,7 @@ paths: '/People/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-3b03 parameters: - name: UserName in: path @@ -8547,7 +8547,7 @@ paths: '/People/{UserName}/Friends/$count': get: summary: Get the number of the resource - operationId: Get.Count.Friends + operationId: Get.Count.Friends-92b9 parameters: - name: UserName in: path @@ -8670,7 +8670,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf parameters: - name: UserName in: path @@ -8731,7 +8731,7 @@ paths: '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-a96c parameters: - name: UserName in: path @@ -8754,7 +8754,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-1cfb parameters: - name: UserName in: path @@ -8815,7 +8815,7 @@ paths: '/People/{UserName}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count': get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-26b3 parameters: - name: UserName in: path @@ -8838,7 +8838,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b parameters: - name: UserName in: path @@ -9047,7 +9047,7 @@ paths: '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/Peers/$count': get: summary: Get the number of the resource - operationId: Get.Count.Peers + operationId: Get.Count.Peers-44d2 parameters: - name: UserName in: path @@ -9281,7 +9281,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-d051 parameters: - name: UserName in: path @@ -9490,7 +9490,7 @@ paths: '/People/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/DirectReports/$count': get: summary: Get the number of the resource - operationId: Get.Count.DirectReports + operationId: Get.Count.DirectReports-0ec4 parameters: - name: UserName in: path @@ -10167,7 +10167,7 @@ paths: '/People/{UserName}/Trips/{TripId}/PlanItems/$count': get: summary: Get the number of the resource - operationId: Get.Count.PlanItems + operationId: Get.Count.PlanItems-9a27 parameters: - name: UserName in: path @@ -10306,7 +10306,7 @@ paths: '/People/{UserName}/Trips/$count': get: summary: Get the number of the resource - operationId: Get.Count.Trips + operationId: Get.Count.Trips-e877 parameters: - name: UserName in: path @@ -10327,7 +10327,7 @@ paths: /People/$count: get: summary: Get the number of the resource - operationId: Get.Count.People + operationId: Get.Count.People-dd8d responses: '200': description: The count of the resource @@ -10342,7 +10342,7 @@ paths: tags: - Person.Employee summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a parameters: - name: $select in: query @@ -10396,7 +10396,7 @@ paths: /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-ef29 responses: '200': description: The count of the resource @@ -10411,7 +10411,7 @@ paths: tags: - Person.Manager summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager - operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-3e14 parameters: - name: $select in: query @@ -10465,7 +10465,7 @@ paths: /People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager/$count: get: summary: Get the number of the resource - operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager + operationId: Get.Count.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager-2d48 responses: '200': description: The count of the resource From 1b63951cc018a5e84d8e9ded41acbd41700155aa Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 15:06:30 -0500 Subject: [PATCH 25/28] - fixes tabspacing issues Signed-off-by: Vincent Biret --- .../Edm/ODataPath.cs | 2 +- .../Edm/ODataPathKind.cs | 2 +- .../Edm/ODataPathProvider.cs | 22 +- .../ODataTypeCastGetOperationHandlerTests.cs | 662 +++++++++--------- 4 files changed, 343 insertions(+), 345 deletions(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs index 4694239f..4c56ae33 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs @@ -327,7 +327,7 @@ private ODataPathKind CalcPathType() { return ODataPathKind.EntitySet; } - } + } else if (Segments.Count == 2 && Segments.Last().Kind == ODataSegmentKind.Key) { return ODataPathKind.Entity; diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs index 0106493e..c3c2fd73 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathKind.cs @@ -63,7 +63,7 @@ public enum ODataPathKind /// /// Represents a type cast path, for example: ~/groups/{id}/members/microsoft.graph.user /// - TypeCast, + TypeCast, /// /// Represents an un-supported/unknown path. diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index f09df0ff..7fb39eab 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -435,14 +435,14 @@ private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings c var annotedTypeNamesSet = new HashSet(annotedTypeNames, StringComparer.OrdinalIgnoreCase); - bool filter(IEdmStructuredType x) => - convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && annotedTypeNames.Contains(x.FullTypeName()) || - !convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && ( - !annotedTypeNames.Any() || - annotedTypeNames.Contains(x.FullTypeName()) - ); - - var targetTypes = _model + bool filter(IEdmStructuredType x) => + convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && annotedTypeNames.Contains(x.FullTypeName()) || + !convertSettings.RequireDerivedTypesConstraintForODataTypeCastSegments && ( + !annotedTypeNames.Any() || + annotedTypeNames.Contains(x.FullTypeName()) + ); + + var targetTypes = _model .FindAllDerivedTypes(structuredType) .Where(x => x.TypeKind == EdmTypeKind.Entity && filter(x)) .OfType() @@ -494,9 +494,9 @@ private void RetrieveBoundOperationPaths(OpenApiConvertSettings convertSettings) var firstEntityType = bindingType.AsEntity().EntityDefinition(); - bool filter(IEdmNavigationSource z) => - z.EntityType() != firstEntityType && - z.EntityType().FindAllBaseTypes().Contains(firstEntityType); + bool filter(IEdmNavigationSource z) => + z.EntityType() != firstEntityType && + z.EntityType().FindAllBaseTypes().Contains(firstEntityType); var allEntitiesForOperation = new IEdmEntityType[] { firstEntityType } .Union(_model.EntityContainer.EntitySets() diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs index 627b8f3e..494a1243 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs @@ -1,352 +1,350 @@ // ------------------------------------------------------------ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Linq; using Microsoft.OData.Edm; -using Microsoft.OpenApi.Extensions; using Microsoft.OpenApi.OData.Edm; -using Microsoft.OpenApi.OData.PathItem.Tests; using Microsoft.OpenApi.OData.Tests; using Xunit; namespace Microsoft.OpenApi.OData.Operation.Tests; public class ODataTypeCastGetOperationHandlerTests { - private readonly ODataTypeCastGetOperationHandler _operationHandler = new (); - - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationProperty(bool enableOperationId, bool enablePagination) - {// ../People/{id}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); - Assert.NotNull(people); - - IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); - ODataPath path = new(new ODataNavigationSourceSegment(people), - new ODataKeySegment(people.EntityType()), - new ODataNavigationPropertySegment(navProperty), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Single(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(9, operation.Parameters.Count); - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Single(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); + private readonly ODataTypeCastGetOperationHandler _operationHandler = new (); + + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationProperty(bool enableOperationId, bool enablePagination) + {// ../People/{id}/Friends/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Single(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(9, operation.Parameters.Count); + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Single(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - else - { - Assert.Null(operation.OperationId); + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationPropertyId(bool enableOperationId, bool enablePagination) + {// ../People/{id}/Friends/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/ + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataKeySegment(people.EntityType()), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(4, operation.Parameters.Count); //select, expand, id, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForCollectionNavigationPropertyId(bool enableOperationId, bool enablePagination) - {// ../People/{id}/Friends/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee/ - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); - Assert.NotNull(people); - - IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "Friends"); - ODataPath path = new(new ODataNavigationSourceSegment(people), - new ODataKeySegment(people.EntityType()), - new ODataNavigationPropertySegment(navProperty), - new ODataKeySegment(people.EntityType()), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Empty(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(4, operation.Parameters.Count); //select, expand, id, id - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Empty(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-11bf", operation.OperationId); + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId, bool enablePagination) + {// .../People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Single(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(8, operation.Parameters.Count); + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Single(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - else - { - Assert.Null(operation.OperationId); + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySetId(bool enableOperationId, bool enablePagination) + {// .../People/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(3, operation.Parameters.Count); //select, expand, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySet(bool enableOperationId, bool enablePagination) - {// .../People/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); - Assert.NotNull(people); - - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - ODataPath path = new(new ODataNavigationSourceSegment(people), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person collection", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Single(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(8, operation.Parameters.Count); - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Single(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Items.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-013a", operation.OperationId); + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleNavigationproperty(bool enableOperationId, bool enablePagination) + {// .../People/{id}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); + Assert.NotNull(people); + + IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "BestFriend"); + ODataPath path = new(new ODataNavigationSourceSegment(people), + new ODataKeySegment(people.EntityType()), + new ODataNavigationPropertySegment(navProperty), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(3, operation.Parameters.Count); //select, expand, id + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - else - { - Assert.Null(operation.OperationId); + [Theory] + [InlineData(true, true)] + [InlineData(true, false)] + [InlineData(false, true)] + [InlineData(false, false)] + public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleton(bool enableOperationId, bool enablePagination) + {// .../Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee + // Arrange + IEdmModel model = EdmModelHelper.TripServiceModel; + OpenApiConvertSettings settings = new() + { + EnableOperationId = enableOperationId, + EnablePagination = enablePagination, + }; + ODataContext context = new(model, settings); + IEdmSingleton me = model.EntityContainer.FindSingleton("Me"); + Assert.NotNull(me); + + IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); + ODataPath path = new(new ODataNavigationSourceSegment(me), + new ODataTypeCastSegment(employee)); + + // Act + var operation = _operationHandler.CreateOperation(context, path); + + // Assert + Assert.NotNull(operation); + Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); + Assert.NotNull(operation.Tags); + var tag = Assert.Single(operation.Tags); + Assert.Equal("Person.Employee", tag.Name); + Assert.Empty(tag.Extensions); + + Assert.NotNull(operation.Parameters); + Assert.Equal(2, operation.Parameters.Count); //select, expand + + Assert.Null(operation.RequestBody); + if(enablePagination) + Assert.Empty(operation.Extensions); + + Assert.Equal(2, operation.Responses.Count); + Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); + + if (enableOperationId) + { + Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18", operation.OperationId); + } + else + { + Assert.Null(operation.OperationId); + } + Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); } - Assert.True(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForEntitySetId(bool enableOperationId, bool enablePagination) - {// .../People/{id}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); - Assert.NotNull(people); - - IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - ODataPath path = new(new ODataNavigationSourceSegment(people), - new ODataKeySegment(people.EntityType()), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Empty(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(3, operation.Parameters.Count); //select, expand, id - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Empty(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-317b", operation.OperationId); - } - else - { - Assert.Null(operation.OperationId); - } - Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleNavigationproperty(bool enableOperationId, bool enablePagination) - {// .../People/{id}/BestFriend/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmEntitySet people = model.EntityContainer.FindEntitySet("People"); - Assert.NotNull(people); - - IEdmEntityType person = model.SchemaElements.OfType().First(c => c.Name == "Person"); - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - IEdmNavigationProperty navProperty = person.DeclaredNavigationProperties().First(c => c.Name == "BestFriend"); - ODataPath path = new(new ODataNavigationSourceSegment(people), - new ODataKeySegment(people.EntityType()), - new ODataNavigationPropertySegment(navProperty), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Empty(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(3, operation.Parameters.Count); //select, expand, id - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Empty(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-7188", operation.OperationId); - } - else - { - Assert.Null(operation.OperationId); - } - Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } - [Theory] - [InlineData(true, true)] - [InlineData(true, false)] - [InlineData(false, true)] - [InlineData(false, false)] - public void CreateODataTypeCastGetOperationReturnsCorrectOperationForSingleton(bool enableOperationId, bool enablePagination) - {// .../Me/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee - // Arrange - IEdmModel model = EdmModelHelper.TripServiceModel; - OpenApiConvertSettings settings = new() - { - EnableOperationId = enableOperationId, - EnablePagination = enablePagination, - }; - ODataContext context = new(model, settings); - IEdmSingleton me = model.EntityContainer.FindSingleton("Me"); - Assert.NotNull(me); - - IEdmEntityType employee = model.SchemaElements.OfType().First(c => c.Name == "Employee"); - ODataPath path = new(new ODataNavigationSourceSegment(me), - new ODataTypeCastSegment(employee)); - - // Act - var operation = _operationHandler.CreateOperation(context, path); - - // Assert - Assert.NotNull(operation); - Assert.Equal("Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person as Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee", operation.Summary); - Assert.NotNull(operation.Tags); - var tag = Assert.Single(operation.Tags); - Assert.Equal("Person.Employee", tag.Name); - Assert.Empty(tag.Extensions); - - Assert.NotNull(operation.Parameters); - Assert.Equal(2, operation.Parameters.Count); //select, expand - - Assert.Null(operation.RequestBody); - if(enablePagination) - Assert.Empty(operation.Extensions); - - Assert.Equal(2, operation.Responses.Count); - Assert.Equal(new string[] { "200", "default" }, operation.Responses.Select(e => e.Key)); - - if (enableOperationId) - { - Assert.Equal("Get.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person.Item.As.Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee-bd18", operation.OperationId); - } - else - { - Assert.Null(operation.OperationId); - } - Assert.False(operation.Responses["200"].Content["application/json"].Schema.Properties.ContainsKey("value")); - } } From b6804072d5a66971d26fc5ff5d188e22868cbe7e Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 12:00:07 -0800 Subject: [PATCH 26/28] Update src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs Co-authored-by: Sam Xu --- src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs index 4c56ae33..0a63c6ea 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs @@ -337,7 +337,7 @@ private ODataPathKind CalcPathType() } /// - /// Profides a suffix for the operation id based on the operation path. + /// Provides a suffix for the operation id based on the operation path. /// /// The settings. ///The suffix. From 33bf92559e6238ba843c3859f8e0ee8ff07c807a Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 12:00:15 -0800 Subject: [PATCH 27/28] Update src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs Co-authored-by: Sam Xu --- src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 7fb39eab..4c0c52ef 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -423,7 +423,7 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve /// Whether the annotable navigation source targets many entities. private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable, bool targetsMany) { - if(currentPath == null) throw new ArgumentNullException(nameof(currentPath)); + if(currentPath == null) throw Error.ArgumentNull(nameof(currentPath)); if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings)); if(structuredType == null) throw new ArgumentNullException(nameof(structuredType)); if(annotable == null) throw new ArgumentNullException(nameof(annotable)); From 306e9466a24ec7f2c455607e386ea8737a20cb61 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 9 Dec 2021 15:11:29 -0500 Subject: [PATCH 28/28] - adds missing using following PR feedback Signed-off-by: Vincent Biret --- src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs index 4c0c52ef..baa37717 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs @@ -9,6 +9,7 @@ using System.Linq; using Microsoft.OData.Edm; using Microsoft.OData.Edm.Vocabularies; +using Microsoft.OpenApi.OData.Common; using Microsoft.OpenApi.OData.Vocabulary.Capabilities; namespace Microsoft.OpenApi.OData.Edm